[aether-ant-tasks/f17] Install LICENSE files
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Mon Sep 17 13:01:27 UTC 2012
commit 052ea2aa870cb70e5cccb1d30d46262e4d689628
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Mon Sep 17 14:17:46 2012 +0200
Install LICENSE files
aether-ant-tasks.spec | 10 +++++++++-
sources | 1 +
2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/aether-ant-tasks.spec b/aether-ant-tasks.spec
index 51602ce..d3aedb1 100644
--- a/aether-ant-tasks.spec
+++ b/aether-ant-tasks.spec
@@ -1,6 +1,6 @@
Name: aether-ant-tasks
Version: 1.0
-Release: 0.1.SNAPSHOT%{?dist}
+Release: 0.2.SNAPSHOT%{?dist}
Summary: Ant tasks using Aether to resolve, install and deploy artifacts
Group: Development/Libraries
BuildArch: noarch
@@ -10,6 +10,7 @@ URL: https://github.com/sonatype/aether-ant-tasks
# git clone git://github.com/sonatype/aether-ant-tasks.git
# tar c --exclude-vcs aether-ant-tasks | lbzip2 >aether-ant-tasks.tar.bz2
Source0: aether-ant-tasks.tar.bz2
+Source1: http://www.eclipse.org/legal/epl-v10.html
BuildRequires: aether
BuildRequires: ant
@@ -46,8 +47,10 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}
+cp -p %{SOURCE1} LICENSE
%build
+# Tests are skipped because of missing dependency - mvn(junit:junit-dep)
mvn-rpmbuild -Dmaven.test.skip=true install javadoc:aggregate
%install
@@ -63,14 +66,19 @@ install -pm 644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar
%files
+%doc LICENSE
%doc README.md
%{_javadir}/%{name}.jar
%{_mavendepmapfragdir}/%{name}
%{_mavenpomdir}/JPP-%{name}.pom
%files javadoc
+%doc LICENSE
%{_javadocdir}/%{name}
%changelog
+* Mon Sep 17 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.0-0.2.SNAPSHOT
+- Install LICENSE files
+
* Mon Apr 30 2012 Mikolaj Izdebski <mizdebsk at redhat.com> 1.0-0.1.SNAPSHOT
- Initial packaging.
diff --git a/sources b/sources
index aa8faaf..bb118dd 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
830d3178bfe209f60d1898b08b271e64 aether-ant-tasks.tar.bz2
+d0fc088e4e5216422c217d39853d8601 epl-v10.html
More information about the scm-commits
mailing list