[tiger-types] introduce license macro

gil gil at fedoraproject.org
Fri Feb 13 01:36:44 UTC 2015


commit fee4918d735d3568b29299da43a622ca0c9956bc
Author: gil <puntogil at libero.it>
Date:   Fri Feb 13 02:36:30 2015 +0100

    introduce license macro

 tiger-types.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/tiger-types.spec b/tiger-types.spec
index 6c9957f..8564fc7 100644
--- a/tiger-types.spec
+++ b/tiger-types.spec
@@ -1,6 +1,6 @@
 Name:          tiger-types
 Version:       1.4
-Release:       5%{?dist}
+Release:       6%{?dist}
 Summary:       Type arithmetic library for Java5
 License:       CDDL or GPLv2 with exceptions
 Url:           http://java.net/projects/tiger-types
@@ -11,15 +11,10 @@ Source0:       %{name}-%{version}-src-svn.tar.gz
 # tiger-types package don't include the license file
 Source1:       glassfish-LICENSE.txt
 
-BuildRequires: java-devel
 BuildRequires: jvnet-parent
-
 BuildRequires: junit
-
 BuildRequires: maven-local
 BuildRequires: maven-enforcer-plugin
-BuildRequires: maven-surefire-provider-junit
-
 Requires:      jvnet-parent
 
 BuildArch:     noarch
@@ -78,12 +73,15 @@ sed -i 's/\r//' LICENSE.txt
 %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 12 2015 gil cattaneo <puntogil at libero.it> 1.4-6
+- introduce license macro
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
@@ -97,4 +95,4 @@ sed -i 's/\r//' LICENSE.txt
 - switch to XMvn, minor changes to adapt to current guideline
 
 * Sat Aug 25 2012 gil cattaneo <puntogil at libero.it> 1.4-1
-- initial rpm
\ No newline at end of file
+- initial rpm


More information about the scm-commits mailing list