]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Tue, 1 Oct 2019 10:28:17 +0000 (18:28 +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>
ceph.spec.in

index ae52f2612587639e5ee95c999292e3ab4cc68359..7048f4e4ac33d0d4af3a7942b0e75d8d138fa84f 100644 (file)
@@ -270,7 +270,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