diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index dee9554..af9571d 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com + +- Fix Provides/Obsoletes. + ------------------------------------------------------------------- Wed Mar 1 14:02:39 UTC 2017 - aloisio@gmx.com diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index 77f2ddb..c5c1e58 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-dogpile.cache Version: 0.6.2 Release: 0 @@ -35,8 +36,14 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # NOTE(toabctl): upstream merged dogpile.core into dogpile.cache # see https://gerrit.sqlalchemy.org/#/c/89/ -Provides: python-dogpile.core = 0.4.1 -Obsoletes: python-dogpile.core <= 0.4.1 +%ifpython2 +Obsoletes: %{oldpython}-dogpile.core < 0.4.1 +Provides: %{oldpython}-dogpile.core = %{version} +%endif +%ifpython3 +Provides: python3-dogpile.core = %{version} +Obsoletes: python3-dogpile.core < 0.4.1 +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages