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

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


commit 62932c712523f62205e11df1b3e3723bc681f037
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 |    9 ++++++++-
 sources                        |    1 +
 3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 57ead13..9eb8d12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 maven-plugin-build-helper-1.4.tar.bz2
 /maven-plugin-build-helper-1.8.tar.xz
+/LICENSE-2.0.txt
diff --git a/maven-plugin-build-helper.spec b/maven-plugin-build-helper.spec
index 31095ee..ff2cafe 100644
--- a/maven-plugin-build-helper.spec
+++ b/maven-plugin-build-helper.spec
@@ -1,6 +1,6 @@
 Name:           maven-plugin-build-helper
 Version:        1.8
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Build Helper Maven Plugin
 Group:          Development/Libraries
 License:        MIT and ASL 2.0
@@ -11,6 +11,7 @@ BuildArch: noarch
 # svn export https://svn.codehaus.org/mojo/tags/build-helper-maven-plugin-%{version} %{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
 
 BuildRequires:  maven-local
 BuildRequires:  mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
@@ -37,6 +38,7 @@ This package provides %{summary}.
 
 %prep
 %setup -q 
+cp %{SOURCE1} LICENSE-2.0.txt
 %pom_add_dep org.apache.maven:maven-compat
 
 %build
@@ -46,11 +48,16 @@ This package provides %{summary}.
 %mvn_install
 
 %files -f .mfiles
+%doc header.txt LICENSE-2.0.txt
 %dir %{_javadir}/%{name}
 
 %files javadoc -f .mfiles-javadoc
+%doc header.txt LICENSE-2.0.txt
 
 %changelog
+* Fri Jul 26 2013 Tomas Radej <tradej at redhat.com> - 1.8-2
+- Add missing ASL license text and installed all license files
+
 * Mon Jul 22 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.8-1
 - Add missing BR: maven-invoker-plugin
 
diff --git a/sources b/sources
index 64b48b7..cfffa65 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 a8550366c4a7b158c919a65e6b24500a  maven-plugin-build-helper-1.8.tar.xz
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt


More information about the scm-commits mailing list