From: Brad Hubbard Date: Mon, 4 Mar 2019 02:38:25 +0000 (+1000) Subject: rpm: Install python2-Cython in python2 environment X-Git-Tag: v13.2.7~139^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3bb191045a267eb2143413036da8dfb07140bf65;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 (cherry picked from commit 6de7111e735683f2c73d4c013d9611fc02b68985) Conflicts: ceph.spec.in --- diff --git a/ceph.spec.in b/ceph.spec.in index 728af323d5e..58d3fbe7731 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -222,7 +222,9 @@ BuildRequires: openldap-devel BuildRequires: openssl-devel BuildRequires: CUnit-devel BuildRequires: redhat-lsb-core -BuildRequires: Cython%{_python_buildid} +%if 0%{with python2} +BuildRequires: python2-Cython +%endif BuildRequires: python%{_python_buildid}-prettytable BuildRequires: python%{_python_buildid}-sphinx BuildRequires: lz4-devel >= 1.7