summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-07-23 21:56:09 +0200
committerGary Lowell <glowell@inktank.com>2013-08-09 16:19:24 -0700
commitecaa46a13837305b9382ab319d43890729c54f1e (patch)
tree9cfefa70bd7a2a574a60cc4521989860a135623c
parent81aa68c309a6d4eaecc54f8d735efde8843fed8c (diff)
downloadceph-ecaa46a13837305b9382ab319d43890729c54f1e.tar.gz
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 <danny.al-gaaf@bisect.de>
-rw-r--r--ceph.spec.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index 1e1407a1fa1..bb54d60378d 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