From 6241376b1b2ccf064588b4cb0b8831e90cce499e976f1322d65d74af2be43214 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 13 Dec 2020 20:46:53 +0000 Subject: [PATCH] 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 --- python-docutils.changes | 7 +++++++ python-docutils.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-docutils.changes b/python-docutils.changes index 7803bcf..769b60a 100644 --- a/python-docutils.changes +++ b/python-docutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Dec 12 00:33:13 UTC 2020 - Benjamin Greiner + +- 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 diff --git a/python-docutils.spec b/python-docutils.spec index 67c05c9..2e025bb 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -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