From eab76958215abdca5e4db4d74dd0039df343cdcb3f7cfc9b2a7b8e7815a12082 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 22 Jul 2023 06:53:38 +0000 Subject: [PATCH] Revert Request 1099904 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/cookiecutter?expand=0&rev=29 --- cookiecutter.changes | 5 ----- cookiecutter.spec | 14 +++++++------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/cookiecutter.changes b/cookiecutter.changes index 82297af..8507fb3 100644 --- a/cookiecutter.changes +++ b/cookiecutter.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Fri Jul 21 12:17:00 UTC 2023 - Johannes Kastl - -- replace hardcoded python3 with python_module macro - ------------------------------------------------------------------- Sun Jul 16 09:58:27 UTC 2023 - Sebastian Wagner diff --git a/cookiecutter.spec b/cookiecutter.spec index 23a76e7..b367429 100644 --- a/cookiecutter.spec +++ b/cookiecutter.spec @@ -64,15 +64,15 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.18.0} # /SECTION # SECTION Documentation requirements -BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module myst-parser} -BuildRequires: %{python_module sphinx-autodoc-typehints} -BuildRequires: %{python_module sphinx-click} -BuildRequires: %{python_module sphinxcontrib-apidoc} +BuildRequires: python3-Sphinx +BuildRequires: python3-myst-parser +BuildRequires: python3-sphinx-autodoc-typehints +BuildRequires: python3-sphinx-click +BuildRequires: python3-sphinxcontrib-apidoc %if 0%{?sle_version} == 150300 -BuildRequires: %{python_module commonmark} +BuildRequires: python3-commonmark %endif -BuildRequires: %{python_module recommonmark} +BuildRequires: python3-recommonmark # /SECTION %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Provides: cookiecutter = %{version}-%{release}