[maven-wagon] Obsolete main package instead of requiring it
Michael Šimáček
msimacek at fedoraproject.org
Mon Jun 30 07:55:48 UTC 2014
commit e33d243753f6f5268b2713b93adeaff3a0896708
Author: Michael Simacek <msimacek at redhat.com>
Date: Mon Jun 30 09:52:48 2014 +0200
Obsolete main package instead of requiring it
maven-wagon.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/maven-wagon.spec b/maven-wagon.spec
index 3d74e30..6120b4d 100644
--- a/maven-wagon.spec
+++ b/maven-wagon.spec
@@ -1,8 +1,9 @@
%global bname wagon
+%global split_verrel 2.6-4
Name: maven-%{bname}
Version: 2.6
-Release: 8%{?dist}
+Release: 9%{?dist}
Epoch: 0
Summary: Tools to manage artifacts and deployment
License: ASL 2.0
@@ -71,7 +72,7 @@ following providers:
%package provider-api
Summary: provider-api module for %{name}
-Requires: %{name} = %{version}-%{release}
+Obsoletes: %{name} < %{split_verrel}
%description provider-api
provider-api module for %{name}.
@@ -180,9 +181,9 @@ Javadoc for %{name}.
%mvn_install
%files -f .mfiles
-%dir %{_javadir}/%{name}
%doc LICENSE NOTICE DEPENDENCIES
%files provider-api -f .mfiles-wagon-provider-api
+%dir %{_javadir}/%{name}
%files providers -f .mfiles-wagon-providers
%files file -f .mfiles-wagon-file
%files ftp -f .mfiles-wagon-ftp
@@ -198,6 +199,9 @@ Javadoc for %{name}.
%doc LICENSE NOTICE DEPENDENCIES
%changelog
+* Mon Jun 30 2014 Michael Simacek <msimacek at redhat.com> - 0:2.6-9
+- Obsolete main package instead of requiring it
+
* Fri Jun 27 2014 Michael Simacek <msimacek at redhat.com>
- Require main package from provider-api
- Fix maven-parent BR
More information about the scm-commits
mailing list