Add jdependency also to Requires

This commit is contained in:
Stanislav Ochotnicky 2011-01-26 18:59:34 +01:00
parent 8c920d1792
commit 3322346d2e

View File

@ -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@redhat.com> - 1.4-2
- Add jdependency also to Requires
* Thu Oct 14 2010 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.4-1
- Update to 1.4
- Add BR on jdependency >= 0.6