diff --git a/plexus-classworlds.spec b/plexus-classworlds.spec index fd97d8a..738f75c 100644 --- a/plexus-classworlds.spec +++ b/plexus-classworlds.spec @@ -34,12 +34,13 @@ Name: %{parent}-%{subname} Version: 2.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Plexus Classworlds Classloader Framework License: ASL 2.0 and Plexus Group: Development/Libraries URL: http://plexus.codehaus.org/ Source0: https://github.com/sonatype/%{name}/archive/%{name}-%{version}.tar.gz +Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildArch: noarch @@ -105,6 +106,8 @@ sed -i 's:ant:org.apache.ant:' pom.xml " +cp %{SOURCE1} . + %build mvn-rpmbuild -e install javadoc:javadoc @@ -125,13 +128,16 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} %{_javadir}/%{parent}/* %{_mavenpomdir}/* %{_mavendepmapfragdir}/* -%doc LICENSE.txt +%doc LICENSE.txt LICENSE-2.0.txt %files javadoc -%doc LICENSE.txt +%doc LICENSE.txt LICENSE-2.0.txt %doc %{_javadocdir}/%{name} %changelog +* Wed Nov 21 2012 Stanislav Ochotnicky - 2.4-11 +- Install required ASL 2.0 license text + * Wed Nov 21 2012 Mikolaj Izdebski - 2.4-10 - Revert change from 2.4-9