diff --git a/python-prompt_toolkit.changes b/python-prompt_toolkit.changes index 3cc64b2..f077cbe 100644 --- a/python-prompt_toolkit.changes +++ b/python-prompt_toolkit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 5 21:56:34 UTC 2017 - toddrme2178@gmail.com + +- Fix Provides/Obsoletes + ------------------------------------------------------------------- Mon Apr 24 20:40:09 UTC 2017 - toddrme2178@gmail.com diff --git a/python-prompt_toolkit.spec b/python-prompt_toolkit.spec index a5235a6..456d05c 100644 --- a/python-prompt_toolkit.spec +++ b/python-prompt_toolkit.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-prompt_toolkit Version: 1.0.14 Release: 0 @@ -37,8 +38,10 @@ Requires: python-six >= 1.9.0 Requires: python-wcwidth BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -Provides: python-python-prompt-toolkit = %{version} -Obsoletes: python-python-prompt-toolkit < %{version} +%ifpython2 +Obsoletes: %{oldpython}-python-prompt-toolkit < %{version} +Provides: %{oldpython}-python-prompt-toolkit = %{version} +%endif %python_subpackages %description