14
0

- Refactor pygments-2.14.patch to not use distutils.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=81
This commit is contained in:
2023-01-24 06:53:46 +00:00
committed by Git OBS Bridge
parent 99e4b3adf3
commit 76b2628c85
3 changed files with 9 additions and 2 deletions

View File

@@ -45,11 +45,13 @@ Requires(post): update-alternatives
Requires(postun):update-alternatives
Recommends: python-Pillow
Recommends: python-Pygments
Requires: python-packaging
Recommends: python-roman
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module roman}
%endif
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"