]> 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)
committerGary Lowell <glowell@inktank.com>
Fri, 9 Aug 2013 23:19:24 +0000 (16:19 -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 1e1407a1fa1e79aae0ed2275d4ac0a257db73114..bb54d60378d1ff1f9c4125e905b9fd951612807a 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