Accepting request 855362 from home:bnavigator:branches:devel:languages:python

- In a world with more than one python 3 flavor, provide "docutils"
  with the default python3 provider.
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/855362
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=67
This commit is contained in:
Matej Cepl 2020-12-13 20:46:53 +00:00 committed by Git OBS Bridge
parent b130c91659
commit 6241376b1b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Dec 12 00:33:13 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- In a world with more than one python 3 flavor, provide "docutils"
with the default python3 provider.
gh#openSUSE/python-rpm-macros#66
-------------------------------------------------------------------
Tue Apr 7 09:31:55 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -50,7 +50,7 @@ BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module roman}
%endif
%ifpython3
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
Provides: docutils = %{version}
Obsoletes: docutils < %{version}
%endif