From 754d2103e1c504377bebc72430c00f931fa397eb Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Fri, 26 Feb 2016 21:14:47 +0100 Subject: [PATCH] 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 --- ceph.spec.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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} -- 2.47.3