[aether] Install license files

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed Jun 26 08:08:46 UTC 2013


commit 6ed73aae229a2128397536c5777e6a7cafb0bfe0
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed Jun 26 10:08:12 2013 +0200

    Install license files
    
    - Resolves: rhbz#958116

 .gitignore  |    2 ++
 aether.spec |   13 ++++++++++++-
 sources     |    2 ++
 3 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a93121e..577fd4c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
 /sonatype-sonatype-aether-aether-1.9-0-g23f7474.tar.gz
 /aether-1.11.tar.bz2
 /aether-1.13.1.tar.bz2
+/LICENSE-2.0.txt
+/epl-v10.html
diff --git a/aether.spec b/aether.spec
index 5ccf6cf..fa92561 100644
--- a/aether.spec
+++ b/aether.spec
@@ -6,13 +6,15 @@
 
 Name:           aether
 Version:        1.13.1
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Sonatype library to resolve, install and deploy artifacts the Maven way
 License:        EPL or ASL 2.0
 URL:            https://docs.sonatype.org/display/AETHER/Home
 # git clone https://github.com/sonatype/sonatype-aether.git
 # git archive --prefix="aether-1.11/" --format=tar aether-1.11 | bzip2 > aether-1.11.tar.bz2
 Source0:        %{name}-%{version}.tar.bz2
+Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
+Source2:        http://www.eclipse.org/legal/epl-v10.html
 BuildArch:      noarch
 
 BuildRequires:  maven-local
@@ -119,6 +121,8 @@ for Aether.
 
 %prep
 %setup -q
+cp -p %{SOURCE1} LICENSE-ASL
+cp -p %{SOURCE2} LICENSE-EPL
 
 %if %{without ahc}
 %pom_disable_module aether-connector-asynchttpclient
@@ -161,9 +165,11 @@ done
 
 %files -f .mfiles-%{name}
 %doc README.md
+%doc LICENSE-ASL LICENSE-EPL
 
 %files api -f .mfiles-%{name}-api
 %doc README.md
+%doc LICENSE-ASL LICENSE-EPL
 %dir %{_javadir}/%{name}
 
 %files connector-file -f .mfiles-%{name}-connector-file
@@ -173,12 +179,17 @@ done
 %files test-util -f .mfiles-%{name}-test-util
 %files util -f .mfiles-%{name}-util
 %files javadoc -f .mfiles-javadoc
+%doc LICENSE-ASL LICENSE-EPL
 
 %if %{with ahc}
 %files connector-asynchttpclient -f .mfiles-%{name}-connector-asynchttpclient
 %endif
 
 %changelog
+* Wed Jun 26 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.13.1-11
+- Install license files
+- Resolves: rhbz#958116
+
 * Fri May 10 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.13.1-10
 - Conditionally build without AHC connector
 
diff --git a/sources b/sources
index db9c1d4..f0dd05f 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
 a02f091d4e00e8fe6f35508ba60d95e6  aether-1.13.1.tar.bz2
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt
+d0fc088e4e5216422c217d39853d8601  epl-v10.html


More information about the scm-commits mailing list