From: Jeff Layton Date: Thu, 26 Sep 2019 11:50:28 +0000 (-0400) Subject: ceph.spec.in: fix Cython package dependency for Fedora X-Git-Tag: v13.2.7~139^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=120753662495cf67926205af21aeb690e27dfc81;p=ceph.git ceph.spec.in: fix Cython package dependency for Fedora 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 (cherry picked from commit 40c5a18f81c67c96f6a35e592ac3141b87c19701) --- diff --git a/ceph.spec.in b/ceph.spec.in index de52f358813..0057ef7f369 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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