From 0dc8188668c85c43a87f02a5c3a4c06db8f8e035 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 15 Jan 2019 15:34:42 +0100 Subject: [PATCH] rpm: make Python build deps somewhat less confusing Signed-off-by: Nathan Cutler (cherry picked from commit 0b79741a770acb5cee6de2dd88022cd2c5d15ef5) Conflicts: ceph.spec.in --- ceph.spec.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 58d3fbe77316e..923e9e45302c0 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -204,7 +204,7 @@ BuildRequires: libopenssl-devel BuildRequires: lsb-release BuildRequires: openldap2-devel BuildRequires: cunit-devel -BuildRequires: python%{_python_buildid}-base +BuildRequires: python%{_python_buildid}-setuptools BuildRequires: python%{_python_buildid}-Cython BuildRequires: python%{_python_buildid}-PrettyTable BuildRequires: python%{_python_buildid}-Sphinx @@ -225,13 +225,13 @@ BuildRequires: redhat-lsb-core %if 0%{with python2} BuildRequires: python2-Cython %endif +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{_python_buildid}-prettytable BuildRequires: python%{_python_buildid}-sphinx BuildRequires: lz4-devel >= 1.7 %endif -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools -BuildRequires: python%{python3_pkgversion}-Cython # distro-conditional make check dependencies %if 0%{with make_check} %if 0%{?fedora} || 0%{?rhel} -- 2.39.5