]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: fix Cython package dependency for Fedora 30718/head
authorJeff Layton <jlayton@redhat.com>
Thu, 26 Sep 2019 11:50:28 +0000 (07:50 -0400)
committerNathan Cutler <ncutler@suse.com>
Fri, 4 Oct 2019 10:08:53 +0000 (12:08 +0200)
Fedora distros do not have python3?-Cython packages, but they do have
python3-Cython ones. Fix the BuildRequires so that we only use the
python3_version_nodots based version string for RHEL.

Fixes: https://tracker.ceph.com/issues/42032
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 40c5a18f81c67c96f6a35e592ac3141b87c19701)

ceph.spec.in

index de52f358813f02ceab5b717bc8fe9999a8209f6a..0057ef7f369cc27cecbb85d9758ec9db34582bfc 100644 (file)
@@ -228,7 +228,11 @@ BuildRequires:     python2-Cython
 %endif
 BuildRequires: python%{python3_pkgversion}-devel
 BuildRequires: python%{python3_pkgversion}-setuptools
+%if 0%{?rhel}
 BuildRequires: python%{python3_version_nodots}-Cython
+%else
+BuildRequires: python%{python3_pkgversion}-Cython
+%endif
 BuildRequires: python%{_python_buildid}-prettytable
 BuildRequires: python%{_python_buildid}-sphinx
 BuildRequires: lz4-devel >= 1.7