Additional Provides and Obsoletes directives to make fabio happy

This commit is contained in:
Andrew Beekhof 2012-02-02 21:16:32 +11:00
parent f57249ff06
commit 9852537a2c

View File

@ -2,7 +2,7 @@
%global uname hacluster %global uname hacluster
%global pcmk_docdir %{_docdir}/%{name} %global pcmk_docdir %{_docdir}/%{name}
%global specversion 1 %global specversion 2
%global upstream_version bc7c125 %global upstream_version bc7c125
%global upstream_prefix ClusterLabs-pacemaker %global upstream_prefix ClusterLabs-pacemaker
@ -83,6 +83,8 @@ Requires: %{name}-cluster-libs = %{version}-%{release}
Requires: %{name}-cli = %{version}-%{release} Requires: %{name}-cli = %{version}-%{release}
Requires: python >= 2.4 Requires: python >= 2.4
Conflicts: heartbeat < 2.99 Conflicts: heartbeat < 2.99
Obsoletes: rgmanager < 3.2.0
Provides: rgmanager >= 3.2.0
%if %{with snmp} %if %{with snmp}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -152,6 +154,8 @@ License: GPLv2+ and LGPLv2+
Summary: Command line tools for controlling Pacemaker clusters Summary: Command line tools for controlling Pacemaker clusters
Group: System Environment/Daemons Group: System Environment/Daemons
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Obsoletes: modcluster < 1.0, cluster-snmp < 1.0, cluster-cim < 1.0
Provides: modcluster >= 1.0, cluster-snmp >= 1.0, cluster-cim >= 1.0
%description cli %description cli
Pacemaker is an advanced, scalable High-Availability cluster resource Pacemaker is an advanced, scalable High-Availability cluster resource
@ -464,6 +468,9 @@ fi
%doc AUTHORS %doc AUTHORS
%changelog %changelog
* Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.2-bc7c125.git
- Additional Provides and Obsoletes directives to enable upgrading from rgmanager
* Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.1-bc7c125.git * Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.1-bc7c125.git
- New upstream tarball: bc7c125 - New upstream tarball: bc7c125
- Pre-release 1.1.7 build to deal with the removal of cman and support for corosync plugins - Pre-release 1.1.7 build to deal with the removal of cman and support for corosync plugins