[activemq-protobuf] introduce license macro

gil gil at fedoraproject.org
Thu Jan 29 11:24:20 UTC 2015


commit 9644413f2c52d563629a77fd0d415e679e6c3401
Author: gil <puntogil at libero.it>
Date:   Thu Jan 29 12:24:06 2015 +0100

    introduce license macro

 activemq-protobuf.spec |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/activemq-protobuf.spec b/activemq-protobuf.spec
index 03473fa..d8bc2c6 100644
--- a/activemq-protobuf.spec
+++ b/activemq-protobuf.spec
@@ -1,6 +1,6 @@
 Name:          activemq-protobuf
 Version:       1.1
-Release:       8%{?dist}
+Release:       9%{?dist}
 Summary:       ActiveMQ Protocol Buffers
 License:       ASL 2.0
 Url:           http://activemq.apache.org/
@@ -8,18 +8,13 @@ Url:           http://activemq.apache.org/
 # tar czf activemq-protobuf-1.1-src-svn.tar.gz activemq-protobuf-1.1
 Source0:       activemq-protobuf-1.1-src-svn.tar.gz
 
-BuildRequires: java-devel
-
+BuildRequires: mvn(junit:junit)
 BuildRequires: mvn(org.apache.maven:maven-plugin-api)
 BuildRequires: mvn(org.apache.maven:maven-project)
-
-BuildRequires: junit
-
 BuildRequires: maven-local
 BuildRequires: javacc-maven-plugin
 BuildRequires: maven-enforcer-plugin
 BuildRequires: maven-plugin-plugin
-BuildRequires: maven-surefire-provider-junit
 
 BuildArch:     noarch
 
@@ -47,10 +42,11 @@ sed -i 's|${version}|${project.version}|' pom.xml activemq-protobuf-test/pom.xml
 
 chmod 644 LICENSE
 
-%build
-
 %mvn_file :%{name} activemq/protobuf
 %mvn_file :%{name}-test activemq/protobuf-test
+
+%build
+
 %mvn_build -- -Dproject.build.sourceEncoding=UTF-8
 
 %install
@@ -58,12 +54,16 @@ chmod 644 LICENSE
 
 %files -f .mfiles
 %dir %{_javadir}/activemq
-%doc LICENSE NOTICE README.txt
+%doc README.txt
+%license LICENSE NOTICE
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE NOTICE
+%license LICENSE NOTICE
 
 %changelog
+* Thu Jan 29 2015 gil cattaneo <puntogil at libero.it> 1.1-9
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list