From: Brad Hubbard Date: Mon, 25 Feb 2019 02:06:57 +0000 (+1000) Subject: rpm: Fix pyOpenSSL dependency X-Git-Tag: v14.1.1~140^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ff324f450c16e8020120b32f37265f4a344e4e5a;p=ceph.git rpm: Fix pyOpenSSL dependency Fedora29 does not have pyOpenSSL but it does have python-pyOpenSSL Signed-off-by: Brad Hubbard --- 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