[apache-parent] Added license (Resolves: #888287)

Mikolaj Izdebski mizdebsk at fedoraproject.org
Tue Dec 18 14:27:43 UTC 2012


commit 72ba85db8e75b3601dfb07ab86972e12023e0b4a
Author: Michal Srb <msrb at redhat.com>
Date:   Tue Dec 18 15:13:01 2012 +0100

    Added license (Resolves: #888287)
    
    Signed-off-by: Mikolaj Izdebski <mizdebsk at redhat.com>

 apache-parent.spec |    8 +++++++-
 sources            |    1 +
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/apache-parent.spec b/apache-parent.spec
index 853d445..d97601c 100644
--- a/apache-parent.spec
+++ b/apache-parent.spec
@@ -1,11 +1,12 @@
 Name:           apache-parent
 Version:        10
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Parent pom file for Apache projects
 Group:          Development/Libraries
 License:        ASL 2.0
 URL:            http://apache.org/
 Source0:        http://svn.apache.org/repos/asf/maven/pom/tags/apache-10/pom.xml
+Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
 BuildArch:      noarch
 
 BuildRequires:  maven
@@ -29,6 +30,7 @@ cp %{SOURCE0} .
 sed -i 's:<source>1.4</source>:<source>1.5</source>:' pom.xml
 sed -i 's:<target>1.4</target>:<target>1.5</target>:' pom.xml
 
+cp %{SOURCE1} LICENSE
 
 %build
 
@@ -44,10 +46,14 @@ install -pm 644 pom.xml \
 mvn-rpmbuild verify
 
 %files
+%doc LICENSE
 %{_mavenpomdir}/JPP-%{name}.pom
 %{_mavendepmapfragdir}/%{name}
 
 %changelog
+* Tue Dec 18 2012 Michal Srb <msrb at redhat.com> - 10-8
+- Added license (Resolves: #888287)
+
 * Wed Nov 21 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 10-7
 - Install patched pom not the original
 
diff --git a/sources b/sources
index e69de29..08b565e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt


More information about the scm-commits mailing list