diff --git a/python-Babel.changes b/python-Babel.changes index f6f9bc4..accd9c4 100644 --- a/python-Babel.changes +++ b/python-Babel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 6 03:37:17 UTC 2017 - toddrme2178@gmail.com + +- Fix provides/obsoletes + ------------------------------------------------------------------- Fri Mar 31 19:38:21 UTC 2017 - aloisio@gmx.com diff --git a/python-Babel.spec b/python-Babel.spec index a144bdb..752b174 100644 --- a/python-Babel.spec +++ b/python-Babel.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-Babel Version: 2.4.0 Release: 0 @@ -36,8 +37,14 @@ BuildRequires: python-rpm-macros Requires: python-pytz Requires(post): update-alternatives Requires(postun): update-alternatives -Provides: python-babel = %{version} -Obsoletes: python-babel < %{version} +%ifpython2 +Obsoletes: %{oldpython}-babel < %{version} +Provides: %{oldpython}-babel = %{version} +%endif +%ifpython3 +Provides: python3-babel = %{version} +Obsoletes: python3-babel < %{version} +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages