diff --git a/.gitignore b/.gitignore index d0efe4c..f877606 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ mojo-parent-29-source-release.zip /mojo-parent-31-source-release.zip /mojo-parent-32-source-release.zip +/LICENSE-2.0.txt diff --git a/mojo-parent.spec b/mojo-parent.spec index 229d7d1..5858d44 100644 --- a/mojo-parent.spec +++ b/mojo-parent.spec @@ -1,11 +1,12 @@ Name: mojo-parent Version: 32 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Codehaus MOJO parent project pom file License: ASL 2.0 URL: http://mojo.codehaus.org/ Source0: http://repo1.maven.org/maven2/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip +Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildArch: noarch BuildRequires: maven-local @@ -22,6 +23,8 @@ Codehaus MOJO parent project pom file # wagon-webdav-jackrabbit is not available in Fedora %pom_xpath_remove "pom:extension[pom:artifactId[text()='wagon-webdav-jackrabbit']]" +cp %SOURCE1 . + %build %mvn_alias : org.codehaus.mojo:mojo %mvn_build @@ -30,8 +33,12 @@ Codehaus MOJO parent project pom file %mvn_install %files -f .mfiles +%doc LICENSE-2.0.txt %changelog +* Mon Jul 22 2013 Stanislav Ochotnicky - 32-3 +- Add ASL 2.0 license text to rpms + * Mon Apr 22 2013 Stanislav Ochotnicky - 32-2 - Update to latest upstream (#948704) @@ -87,4 +94,3 @@ Codehaus MOJO parent project pom file * Mon Sep 6 2010 Stanislav Ochotnicky - 24-1 - Initial version of the package - diff --git a/sources b/sources index d05dde3..eed1609 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 064ee1af443d74928d2401a50d3d69bc mojo-parent-32-source-release.zip +3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt