From: Brad Hubbard Date: Mon, 4 Mar 2019 02:38:25 +0000 (+1000) Subject: rpm: Install python2-Cython in python2 environment X-Git-Tag: v14.2.0~40^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F26756%2Fhead;p=ceph.git rpm: Install python2-Cython in python2 environment do_cmake.sh tests for Cython module version in python2 Signed-off-by: Brad Hubbard --- diff --git a/ceph.spec.in b/ceph.spec.in index a12ceade0f7e..63cf60d6526f 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -255,8 +255,10 @@ BuildRequires: openldap-devel BuildRequires: openssl-devel BuildRequires: CUnit-devel BuildRequires: redhat-lsb-core +%if 0%{with python2} +BuildRequires: python2-Cython +%endif %if 0%{?rhel} == 7 -BuildRequires: Cython BuildRequires: python34-devel BuildRequires: python34-setuptools BuildRequires: python34-Cython