]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: install python3-Cython on el8
authorKefu Chai <kchai@redhat.com>
Tue, 1 Oct 2019 10:12:43 +0000 (18:12 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 13:42:05 +0000 (21:42 +0800)
EL8 has python3 support. no need to wait for python3-Cython to populate
to its mirrors.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 0098b42927be9d965e8377fe1fd769774ff3b27a)

ceph.spec.in

index 3f5a07ee33ed5b557e2e49b5d1eb1b1fa902108d..5784d4a7e8f382415eecb15737be1bdfc4115f9e 100644 (file)
@@ -277,7 +277,7 @@ BuildRequires:      python2-Cython
 %endif
 BuildRequires: python%{python3_pkgversion}-devel
 BuildRequires: python%{python3_pkgversion}-setuptools
-%if 0%{?rhel}
+%if 0%{?rhel} == 7
 BuildRequires: python%{python3_version_nodots}-Cython
 %else
 BuildRequires: python%{python3_pkgversion}-Cython