]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: Fix pyOpenSSL dependency 26617/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 25 Feb 2019 02:06:57 +0000 (12:06 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Mon, 25 Feb 2019 03:37:23 +0000 (13:37 +1000)
Fedora29 does not have pyOpenSSL but it does have python-pyOpenSSL

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
ceph.spec.in

index 482a57110421230a92f55c6409cf1aff1a0befd2..d1053ebc093010dc3d3cbdf501af2b0980ab025c 100644 (file)
@@ -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