diff --git a/ceph.spec.in b/ceph.spec.in index 7ccd122bbe177..a4fc349f2f051 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -26,7 +26,7 @@ License: GPL-2.0 Group: System Environment/Base URL: http://ceph.com/ Source0: http://ceph.com/download/%{name}-%{version}.tar.bz2 -%if 0%{?fedora} || 0%{?centos} || 0%{?rhel} +%if 0%{?fedora} || 0%{?rhel} Patch0: init-ceph.in-fedora.patch %endif Requires: librbd1 = %{epoch}:%{version}-%{release} @@ -86,7 +86,7 @@ BuildRequires: xfsprogs BuildRequires: xfsprogs-devel BuildRequires: xmlstarlet BuildRequires: yasm -%if 0%{?rhel} || 0%{?centos} || 0%{?fedora} || 0%{?suse_version} +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} BuildRequires: snappy-devel %endif %if 0%{?suse_version} @@ -201,7 +201,7 @@ managers such as Pacemaker. Summary: RADOS distributed object store client library Group: System Environment/Libraries License: LGPL-2.0 -%if 0%{?rhel} || 0%{?centos} || 0%{?fedora} +%if 0%{?rhel} || 0%{?fedora} Obsoletes: ceph-libs < %{epoch}:%{version}-%{release} %endif %description -n librados2 @@ -259,7 +259,7 @@ Summary: RADOS block device client library Group: System Environment/Libraries License: LGPL-2.0 Requires: librados2 = %{epoch}:%{version}-%{release} -%if 0%{?rhel} || 0%{?centos} || 0%{?fedora} +%if 0%{?rhel} || 0%{?fedora} Obsoletes: ceph-libs < %{epoch}:%{version}-%{release} %endif %description -n librbd1 @@ -294,7 +294,7 @@ block device. Summary: Ceph distributed file system client library Group: System Environment/Libraries License: LGPL-2.0 -%if 0%{?rhel} || 0%{?centos} || 0%{?fedora} +%if 0%{?rhel} || 0%{?fedora} Obsoletes: ceph-libs < %{epoch}:%{version}-%{release} Obsoletes: ceph-libcephfs %endif @@ -444,7 +444,7 @@ python-cephfs instead. ################################################################################# %prep %setup -q -%if 0%{?fedora} || 0%{?rhel} || 0%{?centos} +%if 0%{?fedora} || 0%{?rhel} %patch0 -p1 -b .init %endif