[plexus-pom/f18] Install LICENSE file

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed Nov 21 10:34:22 UTC 2012


commit 6f8101dfbdfa87c039279cb899f0b60d5b4d0cf0
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed Nov 21 11:29:43 2012 +0100

    Install LICENSE file

 plexus-pom.spec |   11 +++++++++--
 sources         |    1 +
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/plexus-pom.spec b/plexus-pom.spec
index cd171c3..a7fc8ab 100644
--- a/plexus-pom.spec
+++ b/plexus-pom.spec
@@ -1,6 +1,6 @@
 Name:          plexus-pom
 Version:       3.0.1
-Release:       2%{?dist}
+Release:       3%{?dist}
 Summary:       Root Plexus Projects pom
 Group:         Development/Libraries
 License:       ASL 2.0
@@ -9,6 +9,7 @@ URL:           https://github.com/sonatype/%{name}/
 # cd plexus-pom
 # git archive --format=tar --prefix=plexus-pom-3.0.1/ plexus-3.0.1 | xz >plexus-pom-3.0.1.tar.xz
 Source0:       plexus-pom-%{version}.tar.xz
+Source1:       http://www.apache.org/licenses/LICENSE-2.0.txt
 
 # remove
 # org.codehaus.mojo taglist-maven-plugin 2.4
@@ -41,6 +42,7 @@ executing software projects.
 %setup -q
 %patch0 -p0
 %patch1 -p0
+cp -p %{SOURCE1} LICENSE
 
 %build
 
@@ -53,12 +55,17 @@ install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.plexus-plexus.pom
 %add_maven_depmap JPP.plexus-plexus.pom
 
 %files
+%doc LICENSE
 %{_mavenpomdir}/JPP.plexus-plexus.pom
 %{_mavendepmapfragdir}/%{name}
 
 %changelog
+* Wed Nov 21 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.0.1-3
+- Install LICENSE file
+- Resolves: rhbz#878825
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
 * Wed Feb 08 2012 gil cattaneo <puntogil at libero.it> 3.0.1-1
-- initial rpm
\ No newline at end of file
+- initial rpm
diff --git a/sources b/sources
index cc7899b..4eb9ecc 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 75753f24254b405a3a5c0d20e57e56c8  plexus-pom-3.0.1.tar.xz
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt


More information about the scm-commits mailing list