[struts] introduce license macro

gil gil at fedoraproject.org
Thu Feb 12 23:52:30 UTC 2015


commit 7a2d1580d33f1a87c8abbfcf30666c1e9757a9f8
Author: gil <puntogil at libero.it>
Date:   Fri Feb 13 00:52:05 2015 +0100

    introduce license macro

 struts.spec |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/struts.spec b/struts.spec
index 3a8a4fd..8f223e5 100644
--- a/struts.spec
+++ b/struts.spec
@@ -1,7 +1,7 @@
 %global master_version 4
 Name:          struts
 Version:       1.3.10
-Release:       12%{?dist}
+Release:       13%{?dist}
 Summary:       Web application framework
 License:       ASL 2.0
 URL:           http://struts.apache.org/
@@ -49,7 +49,6 @@ BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec)
 BuildRequires: mvn(oro:oro)
 
 BuildRequires: maven-local
-BuildRequires: maven-surefire-provider-junit
 
 BuildArch:     noarch
 Obsoletes:     %{name}-manual < %{version}
@@ -118,19 +117,17 @@ cd src
 %mvn_install
 )
 
-#install -pm 644 pom.xml %%{buildroot}%%{_mavenpomdir}/JPP.%%{name}-master.pom
-#%%add_maven_depmap JPP.%%{name}-master.pom
-
 %files -f src/.mfiles
 %dir %{_javadir}/%{name}
-#%%{_mavenpomdir}/JPP.%%{name}-master.pom
-#%%{_mavendepmapfragdir}/%%{name}
-%doc LICENSE.txt NOTICE.txt
+%license LICENSE.txt NOTICE.txt
 
 %files javadoc -f src/.mfiles-javadoc
-%doc LICENSE.txt NOTICE.txt
+%license LICENSE.txt NOTICE.txt
 
 %changelog
+* Thu Feb 12 2015 gil cattaneo <puntogil at libero.it> 1.3.10-13
+- introduce license macro
+
 * Tue Aug 12 2014 gil cattaneo <puntogil at libero.it> 1.3.10-12
 - fix CVE-2014-0114
 


More information about the scm-commits mailing list