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:1.4:1.5:' pom.xml sed -i 's:1.4:1.5:' 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 - 10-8 +- Added license (Resolves: #888287) + * Wed Nov 21 2012 Stanislav Ochotnicky - 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