From: Erwan Velu Date: Fri, 26 Feb 2016 20:14:47 +0000 (+0100) Subject: packaging: Moving Cython into distro specific area X-Git-Tag: v10.1.0~213^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F7742%2Fhead;p=ceph.git packaging: Moving Cython into distro specific area 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 5418c3611798..3a36ab2259e5 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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}