[hibernate3] introduce license macro

gil gil at fedoraproject.org
Thu Feb 5 13:45:50 UTC 2015


commit 124d9aa8bd93922999231b2a96799b5e98990627
Author: gil <puntogil at libero.it>
Date:   Thu Feb 5 14:45:35 2015 +0100

    introduce license macro

 hibernate3.spec |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/hibernate3.spec b/hibernate3.spec
index 21d73ef..b234b82 100644
--- a/hibernate3.spec
+++ b/hibernate3.spec
@@ -5,7 +5,7 @@
 
 Name:    hibernate3
 Version: 3.6.10
-Release: 15%{?dist}
+Release: 16%{?dist}
 Summary: Relational persistence and query service
 License: LGPLv2+
 URL:     http://www.hibernate.org/
@@ -23,7 +23,6 @@ BuildArch: noarch
 
 BuildRequires: jpackage-utils
 BuildRequires: javapackages-tools >= 0.7.2
-BuildRequires: java-devel
 BuildRequires: maven-local
 BuildRequires: maven-release-plugin
 BuildRequires: maven-enforcer-plugin
@@ -181,31 +180,35 @@ export LANG=en_US.UTF-8
 %mvn_install
 
 %files -f .mfiles-%{name}
-%doc changelog.txt lgpl.txt
+%doc changelog.txt
 %dir %{_javadir}/%{name}
+%license lgpl.txt
 
 %files javadoc -f .mfiles-javadoc
-%doc lgpl.txt
+%license lgpl.txt
 
 %files entitymanager -f .mfiles-hibernate-entitymanager
-%doc lgpl.txt
+%license lgpl.txt
 
 %files envers -f .mfiles-hibernate-envers
 %doc lgpl.txt
 
 %files c3p0 -f .mfiles-hibernate-c3p0
-%doc lgpl.txt
+%license lgpl.txt
 
 %files ehcache -f .mfiles-hibernate-ehcache
-%doc lgpl.txt
+%license lgpl.txt
 
 %files proxool -f .mfiles-hibernate-proxool
-%doc lgpl.txt
+%license lgpl.txt
 
 %files testing -f .mfiles-hibernate-testing
-%doc lgpl.txt
+%license lgpl.txt
 
 %changelog
+* Thu Feb 05 2015 gil cattaneo <puntogil at libero.it> 3.6.10-16
+- introduce license macro
+
 * Thu Jun 26 2014 gil cattaneo <puntogil at libero.it> 3.6.10-15
 - disable jbosscache support
 


More information about the scm-commits mailing list