]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fixed usage of rhel_version in spec file : it should have been rhel
authorSebastien Ponce <sebastien.ponce@cern.ch>
Tue, 27 May 2014 09:03:48 +0000 (11:03 +0200)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 5 Jun 2014 17:07:16 +0000 (10:07 -0700)
Signed-off-by: Sebastien Ponce <sebastien.ponce@cern.ch>
ceph.spec.in

index f11c4d9e5b8dcbc811e20235b2b966ad040af11a..73a66317fb116dc2091bcff7f369e934863b1376 100644 (file)
@@ -50,7 +50,7 @@ BuildRequires:  libudev-devel
 BuildRequires:  leveldb-devel > 1.2
 BuildRequires:  xfsprogs-devel
 BuildRequires:  yasm
-%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora}
+%if 0%{?rhel} || 0%{?centos_version} || 0%{?fedora}
 BuildRequires:  snappy-devel
 %endif
 
@@ -158,7 +158,7 @@ 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}
+%if 0%{?rhel} || 0%{?centos_version} || 0%{?fedora}
 Obsoletes:     ceph-libs
 %endif
 %description -n librados2
@@ -171,7 +171,7 @@ 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}
+%if 0%{?rhel} || 0%{?centos_version} || 0%{?fedora}
 Obsoletes:     ceph-libs
 %endif
 %description -n librbd1
@@ -184,7 +184,7 @@ 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}
+%if 0%{?rhel} || 0%{?centos_version} || 0%{?fedora}
 Obsoletes:     ceph-libs
 %endif
 %description -n libcephfs1