Use the proper version name in Obsoletes, the previous one did not obsolete all the packages that it should

This commit is contained in:
Boris Ranto 2014-08-16 10:32:16 +02:00
parent a236dbbbe2
commit 830e99f484

View File

@ -10,7 +10,7 @@
################################################################################# #################################################################################
Name: ceph Name: ceph
Version: 0.80.5 Version: 0.80.5
Release: 3%{?dist} Release: 4%{?dist}
Epoch: 1 Epoch: 1
Summary: User space components of the Ceph file system Summary: User space components of the Ceph file system
License: GPL-2.0 License: GPL-2.0
@ -180,7 +180,7 @@ Summary: RADOS distributed object store client library
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPL-2.0 License: LGPL-2.0
%if 0%{?rhel} || 0%{?centos} || 0%{?fedora} %if 0%{?rhel} || 0%{?centos} || 0%{?fedora}
Obsoletes: ceph-libs < 0:0.81.0 Obsoletes: ceph-libs < 1:0.80.5
%endif %endif
%description -n librados2 %description -n librados2
RADOS is a reliable, autonomic distributed object storage cluster RADOS is a reliable, autonomic distributed object storage cluster
@ -194,7 +194,7 @@ Group: System Environment/Libraries
License: LGPL-2.0 License: LGPL-2.0
Requires: librados2 = %{version}-%{release} Requires: librados2 = %{version}-%{release}
%if 0%{?rhel} || 0%{?centos} || 0%{?fedora} %if 0%{?rhel} || 0%{?centos} || 0%{?fedora}
Obsoletes: ceph-libs < 0:0.81.0 Obsoletes: ceph-libs < 1:0.80.5
%endif %endif
%description -n librbd1 %description -n librbd1
RBD is a block device striped across multiple distributed objects in RBD is a block device striped across multiple distributed objects in
@ -207,7 +207,7 @@ Summary: Ceph distributed file system client library
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPL-2.0 License: LGPL-2.0
%if 0%{?rhel} || 0%{?centos} || 0%{?fedora} %if 0%{?rhel} || 0%{?centos} || 0%{?fedora}
Obsoletes: ceph-libs < 0:0.81.0 Obsoletes: ceph-libs < 1:0.80.5
Obsoletes: libcephfs Obsoletes: libcephfs
%endif %endif
%description -n libcephfs1 %description -n libcephfs1
@ -275,7 +275,7 @@ This package contains the Java libraries for the Ceph File System.
Summary: Meta package to include ceph libraries. Summary: Meta package to include ceph libraries.
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPL-2.0 License: LGPL-2.0
Obsoletes: ceph-libs < 0:0.81.0 Obsoletes: ceph-libs < 1:0.80.5
Requires: librados2 = %{version}-%{release} Requires: librados2 = %{version}-%{release}
Requires: librbd1 = %{version}-%{release} Requires: librbd1 = %{version}-%{release}
Requires: libcephfs1 = %{version}-%{release} Requires: libcephfs1 = %{version}-%{release}
@ -742,6 +742,9 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
%files libs-compat %files libs-compat
%changelog %changelog
* Sat Aug 16 2014 Boris Ranto <branto@redhat.com> - 1:0.80.5-4
- Use the proper version name in Obsoletes
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3 * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.80.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild