]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: fix Cython package dependency for Fedora 30708/head
authorJeff Layton <jlayton@redhat.com>
Thu, 26 Sep 2019 11:50:28 +0000 (07:50 -0400)
committerNathan Cutler <ncutler@suse.com>
Thu, 3 Oct 2019 16:44:13 +0000 (18:44 +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 74fb2720678f135ed81385daa4e037c2433967d9..f34d424cb33fd394153d4590e582add87dbff33f 100644 (file)
@@ -264,7 +264,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