From 2273bfce4249357c556c65e47da4d9409e9bc4f3 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 18 Feb 2019 15:19:41 -0700 Subject: [PATCH] rpm: fix python dependencies on RHEL 8 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 --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 87e7ab97740..7303651f349 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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 -- 2.39.5