diff --git a/python-PasteDeploy.changes b/python-PasteDeploy.changes index 53ca978..83a37d7 100644 --- a/python-PasteDeploy.changes +++ b/python-PasteDeploy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 6 03:37:17 UTC 2017 - toddrme2178@gmail.com + +- Fix provides/obsoletes + ------------------------------------------------------------------- Wed Apr 19 08:16:47 UTC 2017 - hpj@urpla.net diff --git a/python-PasteDeploy.spec b/python-PasteDeploy.spec index e98a6bd..7ed4d4b 100644 --- a/python-PasteDeploy.spec +++ b/python-PasteDeploy.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-PasteDeploy Version: 1.5.2 Release: 0 @@ -32,8 +33,14 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Paste Requires: python-setuptools -Provides: python-pastedeploy = %{version} -Obsoletes: python-pastedeploy < %{version} +%ifpython2 +Obsoletes: %{oldpython}-pastedeploy < %{version} +Provides: %{oldpython}-pastedeploy = %{version} +%endif +%ifpython3 +Provides: python3-pastedeploy = %{version} +Obsoletes: python3-pastedeploy < %{version} +%endif BuildArch: noarch %python_subpackages