[jetty-assembly-descriptors/f18] Install license files

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed Oct 17 14:17:46 UTC 2012


commit 5645d4d83f3d8d1eaa0ae1116f63e7efa4cabc53
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed Oct 17 16:08:48 2012 +0200

    Install license files

 jetty-assembly-descriptors.spec |   10 +++++++++-
 sources                         |    2 ++
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/jetty-assembly-descriptors.spec b/jetty-assembly-descriptors.spec
index 16e8472..c1383ac 100644
--- a/jetty-assembly-descriptors.spec
+++ b/jetty-assembly-descriptors.spec
@@ -1,6 +1,6 @@
 Name:           jetty-assembly-descriptors
 Version:        1.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Jetty assembly descriptors used for building
 
 Group:          Development/Libraries
@@ -9,6 +9,9 @@ URL:            http://www.eclipse.org/jetty/
 Source0:        http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/%{name}-%{version}.tar.bz2
 BuildArch:      noarch
 
+Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
+Source2:        http://www.eclipse.org/legal/epl-v10.html
+
 BuildRequires:  jpackage-utils
 BuildRequires:  maven
 BuildRequires:  jetty-toolchain
@@ -23,6 +26,7 @@ Jetty assembly descriptors used for building
 
 %prep
 %setup -q
+cp -p %{SOURCE1} %{SOURCE2} .
 
 %build
 mvn-rpmbuild install javadoc:aggregate
@@ -38,11 +42,15 @@ install -Dp -m 644 target/%{name}-1.4.jar %{buildroot}%{_javadir}/%{name}.jar
 %add_maven_depmap JPP-%{name}.pom %{name}.jar
 
 %files
+%doc LICENSE-2.0.txt epl-v10.html
 %{_mavenpomdir}/JPP-%{name}.pom
 %{_javadir}/%{name}.jar
 %{_mavendepmapfragdir}/%{name}
 
 %changelog
+* Wed Oct 17 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.0-5
+- Install license files
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 99b642d..fc7d229 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
 24453985a19a381839b1cb56374afaea  jetty-assembly-descriptors-1.0.tar.bz2
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt
+d0fc088e4e5216422c217d39853d8601  epl-v10.html


More information about the scm-commits mailing list