From 3a69fd0456fcf95471622938e63fab8c40bd1b08 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Tue, 23 Jul 2013 21:56:09 +0200 Subject: [PATCH] ceph.spec.in: obsolete ceph-libs only on the affected distro 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 --- ceph.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 4365eb55eb0a7..0a4db619023d4 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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 -- 2.39.5