diff --git a/cookiecutter.changes b/cookiecutter.changes index a721d04..5f8e962 100644 --- a/cookiecutter.changes +++ b/cookiecutter.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu May 11 08:21:49 UTC 2023 - Johannes Kastl + +- fix leftover python3 BuildRequires and use the python_module + macros. This allows builds on SLE15 with python3.11 + +------------------------------------------------------------------- +Wed May 10 08:40:52 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + ------------------------------------------------------------------- Tue Jun 21 09:02:36 UTC 2022 - Sebastian Wagner diff --git a/cookiecutter.spec b/cookiecutter.spec index 0514812..35d059e 100644 --- a/cookiecutter.spec +++ b/cookiecutter.spec @@ -1,7 +1,7 @@ # # spec file for package cookiecutter # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2017 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,7 @@ # -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: cookiecutter Version: 2.1.1 Release: 0 @@ -64,12 +64,12 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.18.0} # /SECTION # SECTION Documentation requirements -BuildRequires: python3-Sphinx -BuildRequires: python3-sphinx-click +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module sphinx-click} %if 0%{?sle_version} == 150300 -BuildRequires: python3-commonmark +BuildRequires: %{python_module commonmark} %endif -BuildRequires: python3-recommonmark +BuildRequires: %{python_module recommonmark} # /SECTION %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Provides: cookiecutter = %{version}-%{release}