Accepting request 1086536 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1086536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cookiecutter?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2023-05-12 18:37:06 +00:00 committed by Git OBS Bridge
commit 9ace27cbfb
2 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu May 11 08:21:49 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- 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 <kastl@b1-systems.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Tue Jun 21 09:02:36 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -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}