[properties-maven-plugin] introduce license macro

gil gil at fedoraproject.org
Wed Feb 11 19:07:10 UTC 2015


commit 4c817b12f5581fbbc9321bce829afb2f05cbc498
Author: gil <puntogil at libero.it>
Date:   Wed Feb 11 20:06:55 2015 +0100

    introduce license macro

 properties-maven-plugin.spec |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/properties-maven-plugin.spec b/properties-maven-plugin.spec
index ba5a209..2644bb3 100644
--- a/properties-maven-plugin.spec
+++ b/properties-maven-plugin.spec
@@ -2,7 +2,7 @@
 %global namedversion %{version}%{?namedreltag}
 Name:          properties-maven-plugin
 Version:       1.0
-Release:       0.8.alpha2%{?dist}
+Release:       0.9.alpha2%{?dist}
 Summary:       Properties Maven Plugin
 License:       ASL 2.0
 URL:           http://mojo.codehaus.org/properties-maven-plugin/
@@ -11,13 +11,11 @@ URL:           http://mojo.codehaus.org/properties-maven-plugin/
 Source0:       %{name}-%{namedversion}-src-svn.tar.gz
 Source1:       http://www.apache.org/licenses/LICENSE-2.0.txt
 
-BuildRequires: java-devel
-BuildRequires: mvn(org.codehaus.mojo:mojo-parent)
-
+BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:)
+BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
 BuildRequires: mvn(org.apache.maven:maven-core)
 BuildRequires: mvn(org.apache.maven:maven-model)
 BuildRequires: mvn(org.apache.maven:maven-plugin-api)
-BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
 
 # test deps (no test to run)
 BuildRequires: mvn(junit:junit)
@@ -58,12 +56,15 @@ sed -i 's/\r//' LICENSE-2.0.txt
 %mvn_install
 
 %files -f .mfiles
-%doc LICENSE-2.0.txt
+%license LICENSE-2.0.txt
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE-2.0.txt
+%license LICENSE-2.0.txt
 
 %changelog
+* Wed Feb 11 2015 gil cattaneo <puntogil at libero.it> 1.0-0.9.alpha2
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-0.8.alpha2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list