diff --git a/python-WebOb.changes b/python-WebOb.changes index a0bd07f..0524143 100644 --- a/python-WebOb.changes +++ b/python-WebOb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 5 21:53:49 UTC 2017 - toddrme2178@gmail.com + +- Fix Provides/Obsoletes. + ------------------------------------------------------------------- Tue Apr 4 12:47:31 UTC 2017 - tbechtold@suse.com diff --git a/python-WebOb.spec b/python-WebOb.spec index b0a08a9..26cd31f 100644 --- a/python-WebOb.spec +++ b/python-WebOb.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-WebOb Version: 1.7.2 Release: 0 @@ -33,8 +34,10 @@ BuildRequires: python-rpm-macros # Documentation requirements: BuildRequires: python3-Sphinx BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: python-webob = %{version} -Obsoletes: python-webob < %{version} +%ifpython2 +Obsoletes: %{oldpython}-webob < %{version} +Provides: %{oldpython}-webob = %{version} +%endif BuildArch: noarch %python_subpackages