diff --git a/python-breathe.changes b/python-breathe.changes index 57cc2a8..bd340a3 100644 --- a/python-breathe.changes +++ b/python-breathe.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 18 16:51:24 UTC 2017 - toddrme2178@gmail.com + +- Fix provides/obsoletes + ------------------------------------------------------------------- Fri Sep 8 15:50:22 UTC 2017 - toddrme2178@gmail.com diff --git a/python-breathe.spec b/python-breathe.spec index 2711b04..9b285bd 100644 --- a/python-breathe.spec +++ b/python-breathe.spec @@ -16,7 +16,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test +%define oldpython python +%bcond_without test Name: python-breathe Version: 4.7.2 Release: 0 @@ -37,9 +38,14 @@ BuildRequires: %{python_module six >= 1.4} Requires: python-Sphinx >= 1.4 Requires: python-docutils >= 0.5 Requires: python-six >= 1.4 -# Change <= to < in next release after 4.7.2 -Provides: python-sphinxcontrib-breathe = %{version} -Obsoletes: python-sphinxcontrib-breathe <= %{version} +%ifpython2 +Obsoletes: %{oldpython}-sphinxcontrib-breathe < %{version} +Provides: %{oldpython}-sphinxcontrib-breathe = %{version} +%endif +%ifpython3 +Provides: python3-sphinxcontrib-breathe = %{version} +Obsoletes: python3-sphinxcontrib-breathe <= %{version} +%endif BuildArch: noarch %python_subpackages