Add ASL 2.0 license text to rpms

This commit is contained in:
Stanislav Ochotnicky 2013-07-22 14:54:44 +02:00
parent 451e4e91c1
commit 4af345d08a
3 changed files with 10 additions and 2 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <sochotnicky@redhat.com> - 32-3
- Add ASL 2.0 license text to rpms
* Mon Apr 22 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 32-2
- Update to latest upstream (#948704)
@ -87,4 +94,3 @@ Codehaus MOJO parent project pom file
* Mon Sep 6 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 24-1
- Initial version of the package

View File

@ -1 +1,2 @@
064ee1af443d74928d2401a50d3d69bc mojo-parent-32-source-release.zip
3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt