commit e2624f4fa6224b06e780f01339d55b4ebed88703
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Fri Nov 9 12:40:29 2012 +0100
Install ASL 2.0 license file
plexus-ant-factory.spec | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/plexus-ant-factory.spec b/plexus-ant-factory.spec
index b99565c..e63c417 100644
--- a/plexus-ant-factory.spec
+++ b/plexus-ant-factory.spec
@@ -33,10 +33,11 @@
Name: %{parent}-%{subname}
Version: 1.0
-Release: 0.8.a2.1.2%{?dist}
+Release: 0.8.a2.1.3%{?dist}
Epoch: 0
Summary: Plexus Ant component factory
# Email from copyright holder confirms license.
+# See plexus-ant-factory_license_and_copyright.txt
License: ASL 2.0
Group: Development/Tools
URL:
http://plexus.codehaus.org/
@@ -44,7 +45,7 @@ Source0: %{name}-src.tar.bz2
# svn export
http://svn.codehaus.org/plexus/tags/plexus-ant-factory-1.0-alpha-2.1/
plexus-ant-factory/
# tar cjf plexus-ant-factory-src.tar.bz2 plexus-ant-factory/
Source1: %{name}-jpp-depmap.xml
-Source2: plexus-ant-factory_license_and_copyright.txt
+Source2:
http://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch
@@ -83,7 +84,7 @@ Javadoc for %{name}.
%prep
%setup -q -n %{name}
-cp %{SOURCE2} .
+cp %{SOURCE2} LICENSE
%build
@@ -112,18 +113,21 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%files
-%doc plexus-ant-factory_license_and_copyright.txt
+%doc LICENSE
%dir %{_javadir}/plexus
%{_javadir}/%{parent}/%{subname}.jar
%{_mavenpomdir}/JPP.%{parent}-%{subname}.pom
%{_mavendepmapfragdir}/%{name}
%files javadoc
-%doc plexus-ant-factory_license_and_copyright.txt
+%doc LICENSE
%doc %{_javadocdir}/*
%changelog
+* Fri Nov 9 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 0:1.0-0.8.a2.1.3
+- Install ASL 2.0 license file
+
* Fri Jul 27 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 0:1.0-0.8.a2.1.2
- Update to maven 3
- Replace nonstandard groups names with standard ones