From ff324f450c16e8020120b32f37265f4a344e4e5a Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Mon, 25 Feb 2019 12:06:57 +1000 Subject: [PATCH] rpm: Fix pyOpenSSL dependency Fedora29 does not have pyOpenSSL but it does have python-pyOpenSSL Signed-off-by: Brad Hubbard --- ceph.spec.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 482a57110421..d1053ebc0930 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -198,10 +198,9 @@ BuildRequires: python%{_python_buildid}-requests BuildRequires: python%{_python_buildid}-six BuildRequires: python%{_python_buildid}-tox BuildRequires: python%{_python_buildid}-virtualenv -%if 0%{?fedora} || 0%{?rhel} +%if 0%{?rhel} == 7 BuildRequires: pyOpenSSL%{_python_buildid} -%endif -%if 0%{?suse_version} +%else BuildRequires: python%{_python_buildid}-pyOpenSSL %endif BuildRequires: socat -- 2.47.3