1
0

Accepting request 527081 from home:TheBlackCat:branches:devel:languages:python

- Fix provides/obsoletes

OBS-URL: https://build.opensuse.org/request/show/527081
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-breathe?expand=0&rev=2
This commit is contained in:
Todd R 2017-09-18 16:56:03 +00:00 committed by Git OBS Bridge
parent d9dbf636e9
commit 1fecf99ebd
2 changed files with 15 additions and 4 deletions

View File

@ -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

View File

@ -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