[maven-plugin-build-helper/f19] Add missing ASL license text and installed all license files

Tomas Radej tradej at fedoraproject.org
Fri Jul 26 16:36:04 UTC 2013


commit 8197a2af159b164438ee3e9dcc97a04c47437978
Author: Tomas Radej <tradej at redhat.com>
Date:   Fri Jul 26 18:19:36 2013 +0200

    Add missing ASL license text and installed all license files

 .gitignore                     |    1 +
 maven-plugin-build-helper.spec |   11 +++++++++--
 sources                        |    1 +
 3 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 624a8a0..ebd9a16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 maven-plugin-build-helper-1.4.tar.bz2
+/LICENSE-2.0.txt
diff --git a/maven-plugin-build-helper.spec b/maven-plugin-build-helper.spec
index d5b6c30..5eb3b41 100644
--- a/maven-plugin-build-helper.spec
+++ b/maven-plugin-build-helper.spec
@@ -1,6 +1,6 @@
 Name:           maven-plugin-build-helper
 Version:        1.5
-Release:        8%{?dist}
+Release:        10%{?dist}
 Summary:        Build Helper Maven Plugin
 
 Group:          Development/Libraries
@@ -11,6 +11,8 @@ URL:            http://mojo.codehaus.org/build-helper-maven-plugin/
 #            %{name}-%{version}
 # tar caf %{name}-%{version}.tar.xz %{name}-%{version}
 Source0:        %{name}-%{version}.tar.xz
+Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
+
 Patch0:         add-junit-dependency.patch
 Patch1:         %{name}-core.patch
 
@@ -52,6 +54,7 @@ API documentation for %{name}.
 %setup -q 
 %patch0
 %patch1 -p1
+cp %{SOURCE1} LICENSE-2.0.txt
 
 %build
 mvn-rpmbuild install javadoc:aggregate
@@ -62,7 +65,6 @@ install -d -m 0755 %{buildroot}%{_javadir}
 install -m 644 target/build-helper-maven-plugin-%{version}.jar \
   %{buildroot}%{_javadir}/%{name}.jar
 
-
 # poms
 install -d -m 755 %{buildroot}%{_mavenpomdir}
 install -pm 644 pom.xml \
@@ -75,14 +77,19 @@ install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
 cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
 
 %files
+%doc LICENSE-2.0.txt
 %{_javadir}/%{name}.jar
 %{_mavenpomdir}/JPP-%{name}.pom
 %{_mavendepmapfragdir}/%{name}
 
 %files javadoc
+%doc LICENSE-2.0.txt
 %{_javadocdir}/%{name}
 
 %changelog
+* Fri Jul 26 2013 Tomas Radej <tradej at redhat.com> - 1.5-10
+- Add missing ASL license text and installed all license files
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index c1bee47..e2fb8b4 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 f4b1178631285af09cfb669602c751fe  maven-plugin-build-helper-1.5.tar.xz
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt


More information about the scm-commits mailing list