[jetty-test-policy/f18] Install license files

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu Sep 20 13:37:26 UTC 2012


commit 6e77807e50b29dc5af2e0432c63a35bf055d311f
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Sep 20 14:49:25 2012 +0200

    Install license files

 jetty-test-policy.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/jetty-test-policy.spec b/jetty-test-policy.spec
index 96e72c1..1c15644 100644
--- a/jetty-test-policy.spec
+++ b/jetty-test-policy.spec
@@ -1,6 +1,6 @@
 Name:           jetty-test-policy
 Version:        1.2
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Jetty test policy files
 
 Group:          Development/Libraries
@@ -9,6 +9,8 @@ URL:            http://www.eclipse.org/jetty/
 Source0:        http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/%{name}-%{version}.tar.bz2
 # rpmlint config file (fedpkg lint will use this)
 #Source1:        .rpmlint
+Source2:        http://www.eclipse.org/legal/epl-v10.html
+Source3:        http://www.apache.org/licenses/LICENSE-2.0.txt
 BuildArch:      noarch
 
 BuildRequires:  jpackage-utils
@@ -35,6 +37,7 @@ Requires:       jpackage-utils
 
 %prep
 %setup -q
+cp -p %{SOURCE2} %{SOURCE3} .
 
 %build
 mvn-rpmbuild install javadoc:aggregate
@@ -54,14 +57,19 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 
 
 %files
+%doc epl-v10.html LICENSE-2.0.txt
 %{_mavenpomdir}/JPP-%{name}.pom
 %{_javadir}/%{name}.jar
 %{_mavendepmapfragdir}/%{name}
 
 %files javadoc
+%doc epl-v10.html LICENSE-2.0.txt
 %doc %{_javadocdir}/%{name}
 
 %changelog
+* Thu Sep 20 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.2-5
+- Install license files
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list