[maven-shade-plugin] Add jdependency also to Requires

Stanislav Ochotnicky sochotni at fedoraproject.org
Wed Jan 26 18:00:23 UTC 2011


commit 3322346d2e22113abef1ced16734b26b0160b14d
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Wed Jan 26 18:59:34 2011 +0100

    Add jdependency also to Requires

 maven-shade-plugin.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/maven-shade-plugin.spec b/maven-shade-plugin.spec
index 194c49c..ea0aa05 100644
--- a/maven-shade-plugin.spec
+++ b/maven-shade-plugin.spec
@@ -1,6 +1,6 @@
 Name:           maven-shade-plugin
 Version:        1.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        This plugin provides the capability to package the artifact in an uber-jar
 
 Group:          Development/Libraries
@@ -8,7 +8,7 @@ License:        ASL 2.0
 URL:            http://maven.apache.org/plugins/%{name}
 # svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-shade-plugin-1.4
 # tar caf maven-shade-plugin-1.4.tar.xz maven-shade-plugin-1.4
-Source0:        %{name}-%{version}.tar.xz 
+Source0:        %{name}-%{version}.tar.xz
 Source1:        %{name}.depmap
 Patch1:         pom.xml.maven-artifact-manager.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -37,8 +37,9 @@ Requires: ant-nodeps
 Requires: maven2
 Requires: jpackage-utils
 Requires: java >= 1:1.6.0
+Requires: jdependency >= 0.6
 Requires(post): jpackage-utils
-Requires(postun): jpackage-utils 
+Requires(postun): jpackage-utils
 
 Obsoletes: maven2-plugin-shade <= 0:2.0.8
 Provides: maven2-plugin-shade = 1:%{version}-%{release}
@@ -121,6 +122,9 @@ rm -rf %{buildroot}
 %{_javadocdir}/%{name}
 
 %changelog
+* Wed Jan 26 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.4-2
+- Add jdependency also to Requires
+
 * Thu Oct 14 2010 Pierre-Yves Chibon <pingou at pingoured.fr> - 1.4-1
 - Update to 1.4
 - Add BR on jdependency >= 0.6


More information about the scm-commits mailing list