]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
packaging: Moving Cython into distro specific area 7742/head
authorErwan Velu <erwan@redhat.com>
Fri, 26 Feb 2016 20:14:47 +0000 (21:14 +0100)
committerErwan Velu <erwan@redhat.com>
Mon, 7 Mar 2016 19:27:07 +0000 (20:27 +0100)
To get the spec file into a consistent state, let's move Cython into the distro
specific are of the spec file.

Signed-off-by: Erwan Velu <erwan@redhat.com>
ceph.spec.in

index 5418c3611798f464cea17aea2b95406e49d25720..3a36ab2259e538d42f2b57cdb87383c12e572ab8 100644 (file)
@@ -109,11 +109,6 @@ BuildRequires:     boost-devel
 BuildRequires:  cmake
 BuildRequires: cryptsetup
 BuildRequires: fuse-devel
-%if 0%{?suse_version}
-BuildRequires: python-Cython
-%else
-BuildRequires: Cython
-%endif
 BuildRequires: gdbm
 BuildRequires: hdparm
 BuildRequires: leveldb-devel > 1.2
@@ -164,6 +159,7 @@ BuildRequires:      mozilla-nss-devel
 BuildRequires: keyutils-devel
 BuildRequires: libatomic-ops-devel
 BuildRequires:  lsb-release
+BuildRequires: python-Cython
 %endif
 %if 0%{?fedora} || 0%{?rhel} 
 %if 0%{?_with_systemd}
@@ -180,6 +176,7 @@ Requires(preun):    chkconfig
 Requires(preun):       initscripts
 BuildRequires: gperftools-devel
 BuildRequires:  redhat-lsb-core
+BuildRequires: Cython
 %endif
 # boost
 %if 0%{?fedora} || 0%{?rhel}