[codehaus-parent] Install LICENSE

Stanislav Ochotnicky sochotni at fedoraproject.org
Fri Aug 17 08:27:00 UTC 2012


commit caecefaefef57c977dadd594395b58bcbbcddc5a
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Aug 16 18:07:08 2012 +0200

    Install LICENSE

 .gitignore           |    1 +
 codehaus-parent.spec |    8 +++++++-
 sources              |    1 +
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f59ea97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/LICENSE-2.0.txt
diff --git a/codehaus-parent.spec b/codehaus-parent.spec
index 72d0bd6..dd175e0 100644
--- a/codehaus-parent.spec
+++ b/codehaus-parent.spec
@@ -1,6 +1,6 @@
 Name:           codehaus-parent
 Version:        4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Parent pom file for codehaus projects
 
 Group:          Development/Libraries
@@ -8,6 +8,7 @@ License:        ASL 2.0
 URL:            http://codehaus.org/
 #Next version with license is at https://github.com/sonatype/codehaus-parent/blob/master/pom.xml
 Source0:        http://repo1.maven.org/maven2/org/codehaus/codehaus-parent/%{version}/codehaus-parent-%{version}.pom
+Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
 Patch0:         %{name}-enforcer.patch
 BuildArch:      noarch
 
@@ -22,6 +23,7 @@ This package contains the parent pom file for codehaus projects.
 %prep
 %setup -q -c -T
 cp -p %{SOURCE0} .
+cp -p %{SOURCE1} LICENSE
 %patch0
 
 %build
@@ -36,10 +38,14 @@ install -pm 644 codehaus-parent-%{version}.pom \
 
 
 %files
+%doc LICENSE
 %{_mavenpomdir}/*
 %{_mavendepmapfragdir}/*
 
 %changelog
+* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 4-3
+- Install LICENSE
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index e69de29..08b565e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3b83ef96387f14655fc854ddc3c6bd57  LICENSE-2.0.txt


More information about the scm-commits mailing list