Install required ASL 2.0 license text

This commit is contained in:
Stanislav Ochotnicky 2012-11-21 17:46:45 +01:00
parent 7db31a2c9d
commit 8d65b3c8c5

View File

@ -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:<groupId>ant</groupId>:<groupId>org.apache.ant</groupId>:' pom.xml
</configuration>
</plugin>"
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 <sochotnicky@redhat.com> - 2.4-11
- Install required ASL 2.0 license text
* Wed Nov 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4-10
- Revert change from 2.4-9