diff --git a/python-pyxdg.changes b/python-pyxdg.changes index a8e5ae8..ee893fe 100644 --- a/python-pyxdg.changes +++ b/python-pyxdg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 1 18:49:28 UTC 2017 - toddrme2178@gmail.com + +- Add literal python-xdg provides. + ------------------------------------------------------------------- Mon Apr 24 17:35:04 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pyxdg.spec b/python-pyxdg.spec index f0cd66c..8662261 100644 --- a/python-pyxdg.spec +++ b/python-pyxdg.spec @@ -23,6 +23,7 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-pyxdg Version: 0.25 Release: 0 @@ -43,8 +44,13 @@ BuildRequires: shared-mime-info Requires: shared-mime-info BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# Change <= to < after version 0.25 Provides: python-xdg = %{version} Obsoletes: python-xdg <= %{version} +%ifpython2 +Obsoletes: %{oldpython}-xdg < %{version} +Provides: %{oldpython}-xdg <= %{version} +%endif %python_subpackages %description