14
0

Accepting request 1137577 from home:gladiac:mailman

- Update to version 21.2.0
  * See https://github.com/benoitc/gunicorn/blob/21.2.0/docs/source/news.rst
    or the packaged news.rst
- Removed support-eventlet-30-3.patch

OBS-URL: https://build.opensuse.org/request/show/1137577
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=56
This commit is contained in:
2024-01-08 23:00:22 +00:00
committed by Git OBS Bridge
parent fc3fbea1bc
commit 5dbe6c0060
5 changed files with 22 additions and 58 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,18 +27,23 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-gunicorn%{psuffix}
Version: 20.1.0
Version: 21.2.0
Release: 0
Summary: WSGI HTTP Server for UNIX
License: MIT
Group: Development/Languages/Python
URL: https://gunicorn.org
Source: https://files.pythonhosted.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz
Patch0: support-eventlet-30-3.patch
%if 0%{?sle_version} >= 150500
# Fixes the build on Leap
BuildRequires: %{python_module Sphinx}
%else
BuildRequires: python3-Sphinx
%endif
BuildRequires: %{python_module importlib_metadata}
BuildRequires: %{python_module setuptools >= 3.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
%if %{with test}
BuildRequires: %{python_module eventlet}
BuildRequires: %{python_module gevent >= 1.4}
@@ -51,6 +56,7 @@ Requires(postun):update-alternatives
Suggests: python-evenlet
Suggests: python-gevent
Suggests: python-gthread
Requires: python-importlib_metadata
Suggests: python-setproctitle
Suggests: python-tornado
BuildArch: noarch
@@ -114,7 +120,7 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
%files -n python-gunicorn-doc
%license LICENSE
%endif
%doc README.rst NOTICE THANKS docs/build/html
%doc README.rst NOTICE THANKS docs/build/html docs/source/news.rst
%endif
%changelog