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:
commit
9ace27cbfb
@ -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>
|
Tue Jun 21 09:02:36 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cookiecutter
|
# spec file for package cookiecutter
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
# Copyright (c) 2017 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2017 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# 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
|
Name: cookiecutter
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -64,12 +64,12 @@ BuildRequires: %{python_module pytest}
|
|||||||
BuildRequires: %{python_module requests >= 2.18.0}
|
BuildRequires: %{python_module requests >= 2.18.0}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
# SECTION Documentation requirements
|
# SECTION Documentation requirements
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: python3-sphinx-click
|
BuildRequires: %{python_module sphinx-click}
|
||||||
%if 0%{?sle_version} == 150300
|
%if 0%{?sle_version} == 150300
|
||||||
BuildRequires: python3-commonmark
|
BuildRequires: %{python_module commonmark}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python3-recommonmark
|
BuildRequires: %{python_module recommonmark}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
|
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
|
||||||
Provides: cookiecutter = %{version}-%{release}
|
Provides: cookiecutter = %{version}-%{release}
|
||||||
|
Loading…
Reference in New Issue
Block a user