[jetty-artifact-remote-resources/f18] Install license files

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


commit f1f768f88beab0094b14dbd31c4b1c476d249f3e
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed Oct 17 16:16:55 2012 +0200

    Install license files

 jetty-artifact-remote-resources.spec |   10 +++++++++-
 sources                              |    2 ++
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/jetty-artifact-remote-resources.spec b/jetty-artifact-remote-resources.spec
index 24c9b1c..ea4810f 100644
--- a/jetty-artifact-remote-resources.spec
+++ b/jetty-artifact-remote-resources.spec
@@ -1,6 +1,6 @@
 Name:           jetty-artifact-remote-resources
 Version:        1.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Jetty toolchain artifact remote resources
 
 Group:          Development/Libraries
@@ -11,6 +11,9 @@ Source0:        http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/s
 Source1:        .rpmlint
 BuildArch:      noarch
 
+Source2:        http://www.apache.org/licenses/LICENSE-2.0.txt
+Source3:        http://www.eclipse.org/legal/epl-v10.html
+
 BuildRequires:  jpackage-utils
 BuildRequires:  maven
 BuildRequires:  maven-remote-resources-plugin >= 1.2.1-3
@@ -25,6 +28,7 @@ Jetty toolchain artifact remote resources
 
 %prep
 %setup -q
+cp -p %{SOURCE2} %{SOURCE3} .
 
 %build
 mvn-rpmbuild -X install
@@ -39,11 +43,15 @@ install -Dp -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}
 %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-6
+- Install license files
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 5d7fc84..252259c 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
 841e7809f967c4b4e77fb910095b414c  jetty-artifact-remote-resources-1.0.tar.bz2
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt
+d0fc088e4e5216422c217d39853d8601  epl-v10.html


More information about the scm-commits mailing list