]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rpm: fix python dependencies on RHEL 8
authorKen Dreyer <kdreyer@redhat.com>
Mon, 18 Feb 2019 22:19:41 +0000 (15:19 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 21 Feb 2019 22:03:05 +0000 (15:03 -0700)
On RHEL 8, the python34-* and Cython packages are named identically to
Fedora (eg "python3-Cython"). Move the Python 2 "Cython" and python34-*
BuildRequires lines inside a RHEL 7 conditional, so RHEL 8 falls through
to the Fedora package names.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
ceph.spec.in

index 87e7ab9774067843b45b6d2ffaa5ab4aa2e0fbdf..7303651f349b42d4ba1e671e9b932084883709a6 100644 (file)
@@ -253,8 +253,8 @@ BuildRequires:  openldap-devel
 BuildRequires:  openssl-devel
 BuildRequires:  CUnit-devel
 BuildRequires:  redhat-lsb-core
+%if 0%{?rhel} == 7
 BuildRequires: Cython
-%if 0%{?rhel}
 BuildRequires: python34-devel
 BuildRequires: python34-setuptools
 BuildRequires: python34-Cython