diff --git a/python-python-mimeparse.changes b/python-python-mimeparse.changes index 1a9a694..3a7cad7 100644 --- a/python-python-mimeparse.changes +++ b/python-python-mimeparse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com + +- Fix Provides/Obsoletes. + ------------------------------------------------------------------- Sat Apr 1 14:24:37 UTC 2017 - aloisio@gmx.com diff --git a/python-python-mimeparse.spec b/python-python-mimeparse.spec index 0a9dbbf..e0f9edf 100644 --- a/python-python-mimeparse.spec +++ b/python-python-mimeparse.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-python-mimeparse Version: 1.6.0 Release: 0 @@ -29,8 +30,10 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Provides: python-mimeparse = 0.1.4 -Obsoletes: python-mimeparse < 0.1.4 +%ifpython2 +Obsoletes: %{oldpython}-mimeparse < 0.1.4 +Provides: %{oldpython}-mimeparse = %{version} +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages