diff --git a/python-pyOpenSSL.changes b/python-pyOpenSSL.changes index 3bf9c1f..f9fb1e0 100644 --- a/python-pyOpenSSL.changes +++ b/python-pyOpenSSL.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 5 21:32:55 UTC 2017 - toddrme2178@gmail.com + +- Fix Provides/Obsoletes. + ------------------------------------------------------------------- Wed Apr 26 14:20:27 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pyOpenSSL.spec b/python-pyOpenSSL.spec index 2b12f91..9a842fa 100644 --- a/python-pyOpenSSL.spec +++ b/python-pyOpenSSL.spec @@ -19,6 +19,7 @@ %bcond_without tests %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-pyOpenSSL Version: 17.0.0 Release: 0 @@ -43,8 +44,10 @@ BuildRequires: %{python_module pytest} %endif Requires: python-cryptography >= 1.3.4 Provides: pyOpenSSL = %{version} -Provides: python-openssl = %{version} -Obsoletes: python-openssl < %{version} +%ifpython2 +Obsoletes: %{oldpython}-openssl < %{version} +Provides: %{oldpython}-openssl = %{version} +%endif BuildArch: noarch %python_subpackages