]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: obsolete ceph-libs only on the affected distro
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 23 Jul 2013 19:56:09 +0000 (21:56 +0200)
committerDan Mick <dan.mick@inktank.com>
Tue, 23 Jul 2013 21:03:52 +0000 (14:03 -0700)
The ceph-libs package existed only on Redhat based distro,
there was e.g. never such a package on SUSE. Therefore: make
sure the 'Obsoletes' is only set on these affected distros.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph.spec.in

index 4365eb55eb0a7fc2aeffbde5e373c83a424f1f32..0a4db619023d496fd146e68f09a2b38b620b4e4e 100644 (file)
@@ -146,7 +146,9 @@ managers such as Pacemaker.
 Summary:       RADOS distributed object store client library
 Group:         System Environment/Libraries
 License:       LGPL-2.0
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora}
 Obsoletes:     ceph-libs
+%endif
 %description -n librados2
 RADOS is a reliable, autonomic distributed object storage cluster
 developed as part of the Ceph distributed storage system. This is a
@@ -157,7 +159,9 @@ store using a simple file-like interface.
 Summary:       RADOS block device client library
 Group:         System Environment/Libraries
 License:       LGPL-2.0
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora}
 Obsoletes:     ceph-libs
+%endif
 %description -n librbd1
 RBD is a block device striped across multiple distributed objects in
 RADOS, a reliable, autonomic distributed object storage cluster
@@ -168,7 +172,9 @@ shared library allowing applications to manage these block devices.
 Summary:       Ceph distributed file system client library
 Group:         System Environment/Libraries
 License:       LGPL-2.0
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora}
 Obsoletes:     ceph-libs
+%endif
 %description -n libcephfs1
 Ceph is a distributed network file system designed to provide excellent
 performance, reliability, and scalability. This is a shared library