[glassfish-management-api] introduce license macro

gil gil at fedoraproject.org
Tue Feb 3 10:28:31 UTC 2015


commit 95806db084c5ef240c02afe90bd333295733e8c5
Author: gil <puntogil at libero.it>
Date:   Tue Feb 3 11:28:09 2015 +0100

    introduce license macro

 glassfish-management-api.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/glassfish-management-api.spec b/glassfish-management-api.spec
index 749bac5..03f85db 100644
--- a/glassfish-management-api.spec
+++ b/glassfish-management-api.spec
@@ -2,7 +2,7 @@
 %global namedversion %{version}%{?namedreltag}
 Name:          glassfish-management-api
 Version:       3.2.0
-Release:       0.5.b001%{?dist}
+Release:       0.6.b001%{?dist}
 Summary:       GlassFish Common APIs
 License:       CDDL or GPLv2 with exceptions
 URL:           http://java.net/projects/gmbal/pages/Home
@@ -17,7 +17,6 @@ Source2:       glassfish-LICENSE.txt
 
 Patch0:        %{name}-%{namedversion}-remove-gpg-plugin.patch
 
-BuildRequires: java-devel
 BuildRequires: jvnet-parent
 
 BuildRequires: maven-local
@@ -63,21 +62,25 @@ cp -p %{SOURCE1} pom.xml
 cp -p %{SOURCE2} LICENSE.txt
 sed -i 's/\r//' LICENSE.txt
 
+%mvn_file :management-api %{name}
+
 %build
 
-%mvn_file :management-api %{name}
 %mvn_build
 
 %install
 %mvn_install
 
 %files -f .mfiles
-%doc LICENSE.txt
+%license LICENSE.txt
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE.txt
+%license LICENSE.txt
 
 %changelog
+* Tue Feb 03 2015 gil cattaneo <puntogil at libero.it> 3.2.0-0.6.b001
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.0-0.5.b001
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list