]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: Obsolete all older versions.
authorDan Mick <dan.mick@inktank.com>
Tue, 12 Aug 2014 21:39:18 +0000 (14:39 -0700)
committerSage Weil <sage@redhat.com>
Fri, 3 Oct 2014 18:21:56 +0000 (11:21 -0700)
Now this changeset can be used on all current ceph releases that already
have the package split.

Signed-off-by: Erik Logtenberg <erik@logtenberg.eu>
(cherry picked from commit 875a99e25f0ad2cb47149a3b5a28b4771a09125c)

ceph.spec.in

index 4e897e582e275ac03fd0b67e9d8fd3465a7a015b..a52f4172b720d6c535b2357b193de3fcf4a7fff2 100644 (file)
@@ -178,7 +178,7 @@ Summary:    RADOS distributed object store client library
 Group:         System Environment/Libraries
 License:       LGPL-2.0
 %if 0%{?rhel} || 0%{?centos_version} || 0%{?fedora}
-Obsoletes:     ceph-libs < 0.80.5
+Obsoletes:     ceph-libs < %{version}-%{release}
 %endif
 %description -n librados2
 RADOS is a reliable, autonomic distributed object storage cluster
@@ -192,7 +192,7 @@ Group:              System Environment/Libraries
 License:       LGPL-2.0
 Requires:      librados2 = %{version}-%{release}
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora}
-Obsoletes:     ceph-libs < 0.80.5
+Obsoletes:     ceph-libs < %{version}-%{release}
 %endif
 %description -n librbd1
 RBD is a block device striped across multiple distributed objects in
@@ -205,7 +205,7 @@ Summary:    Ceph distributed file system client library
 Group:         System Environment/Libraries
 License:       LGPL-2.0
 %if 0%{?rhel} || 0%{?centos_version} || 0%{?fedora}
-Obsoletes:     ceph-libs < 0.80.5
+Obsoletes:     ceph-libs < %{version}-%{release}
 Obsoletes:     ceph-libcephfs
 %endif
 %description -n libcephfs1