[plexus-components-pom] Install LICENSE file
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Mon Nov 12 17:36:13 UTC 2012
commit 816520ee639bbdd82e343dd75210a2a0bc397bbc
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Mon Nov 12 18:30:32 2012 +0100
Install LICENSE file
plexus-components-pom.spec | 10 ++++++++--
sources | 1 +
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/plexus-components-pom.spec b/plexus-components-pom.spec
index 8e479d9..dd05956 100644
--- a/plexus-components-pom.spec
+++ b/plexus-components-pom.spec
@@ -2,13 +2,14 @@
Name: %{short_name}-pom
Version: 1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Plexus Components POM
BuildArch: noarch
Group: Development/Libraries
License: ASL 2.0
URL: http://plexus.codehaus.org/%{short_name}
-Source: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom
+Source0: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom
+Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: jpackage-utils
BuildRequires: maven
@@ -21,6 +22,7 @@ Plexus packages.
%prep
cp -p %{SOURCE0} pom.xml
+cp -p %{SOURCE1} LICENSE
%check
mvn-rpmbuild verify
@@ -31,9 +33,13 @@ install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom
%files
+%doc LICENSE
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
%changelog
+* Mon Nov 12 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.2-2
+- Install LICENSE file
+
* Wed Oct 31 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.2-1
- Initial packaging
diff --git a/sources b/sources
index c29836d..d0bee62 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
944d5759755383e903a54ca24ff0d222 plexus-components-1.2.pom
+3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt
More information about the scm-commits
mailing list