[howl-logger] introduce license macro

gil gil at fedoraproject.org
Thu Feb 5 14:09:03 UTC 2015


commit c8845e3eecf77ebb20c3da4ed54de98703d1a40e
Author: gil <puntogil at libero.it>
Date:   Thu Feb 5 15:08:49 2015 +0100

    introduce license macro

 howl-logger.spec |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/howl-logger.spec b/howl-logger.spec
index 14eb73d..374f84e 100644
--- a/howl-logger.spec
+++ b/howl-logger.spec
@@ -1,19 +1,17 @@
 Name:          howl-logger
 Version:       1.0.2
-Release:       3%{?dist}
+Release:       4%{?dist}
 Summary:       High-speed ObjectWeb Logger
 License:       BSD
 URL:           http://forge.ow2.org/projects/howl/
 # svn export svn://svn.forge.objectweb.org/svnroot/howl/tags/HOWL_1_0_2/howl/logger/ howl-logger-1.0.2
 # tar czf howl-logger-1.0.2-src-svn.tar.gz howl-logger-1.0.2
 Source0:       %{name}-%{version}-src-svn.tar.gz
-BuildRequires: java-devel
 
 # test deps
 BuildRequires: mvn(junit:junit)
 
 BuildRequires: maven-local
-BuildRequires: maven-surefire-provider-junit
 
 BuildArch:     noarch
 
@@ -47,22 +45,26 @@ sed -i "s|junit.textui.TestRunner.run(LogTest.class);|//junit.textui.TestRunner.
   src/test/org/objectweb/howl/log/allTest.java \
   src/test/org/objectweb/howl/log/ExceptionTest.java
 
-%build
-
 %mvn_file :howl %{name} howl
 %mvn_alias :howl "howl:%{name}"
+
+%build
+
 %mvn_build -- -Dproject.build.sourceEncoding=UTF-8
 
 %install
 %mvn_install
 
 %files -f .mfiles
-%doc LICENSE.txt
+%license LICENSE.txt
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE.txt
+%license LICENSE.txt
 
 %changelog
+* Thu Feb 05 2015 gil cattaneo <puntogil at libero.it> 1.0.2-4
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
@@ -70,4 +72,4 @@ sed -i "s|junit.textui.TestRunner.run(LogTest.class);|//junit.textui.TestRunner.
 - Use Requires: java-headless rebuild (#1067528)
 
 * Fri Aug 31 2012 gil cattaneo <puntogil at libero.it> 1.0.2-1
-- initial rpm
\ No newline at end of file
+- initial rpm


More information about the scm-commits mailing list