Fedora29 does not have pyOpenSSL but it does have python-pyOpenSSL
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
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