diff --git a/plexus-velocity.spec b/plexus-velocity.spec index 37c0576..26be17f 100644 --- a/plexus-velocity.spec +++ b/plexus-velocity.spec @@ -33,7 +33,7 @@ Name: plexus-velocity Version: 1.1.8 -Release: 10%{?dist} +Release: 11%{?dist} Epoch: 0 Summary: Plexus Velocity Component License: ASL 2.0 @@ -42,6 +42,7 @@ URL: http://plexus.codehaus.org/ # svn export http://svn.codehaus.org/plexus/plexus-components/tags/plexus-velocity-1.1.8/ # tar czf plexus-velocity-1.1.8-src.tar.gz plexus-velocity-1.1.8/ Source0: plexus-velocity-%{version}-src.tar.gz +Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildArch: noarch BuildRequires: jpackage-utils >= 0:1.7.2 @@ -85,6 +86,7 @@ Javadoc for %{name}. %prep %setup -q -n plexus-velocity-%{version} +cp -p %{SOURCE1} LICENSE for j in $(find . -name "*.jar"); do mv $j $j.no done @@ -110,14 +112,20 @@ install -d -m 755 %{buildroot}/%{_javadocdir}/%{name} cp -pr target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name} %files +%doc LICENSE %{_javadir}/%{parent}/* %{_mavendepmapfragdir}/* %{_mavenpomdir}/* %files javadoc +%doc LICENSE %doc %{_javadocdir}/* %changelog +* Wed Nov 21 2012 Mikolaj Izdebski - 0:1.1.8-11 +- Install LICENSE file +- Resolves: rhbz#878833 + * Sat Jul 21 2012 Fedora Release Engineering - 0:1.1.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 39e08a2..28c7c3e 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ f08d02035964fa6f7a6858846d55d3fa plexus-velocity-1.1.8-src.tar.gz +3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt