forked from pool/python-gunicorn
- Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gunicorn?expand=0&rev=57
This commit is contained in:
parent
5dbe6c0060
commit
9e9ff4c19b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 23:05:51 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 09:03:41 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
|
@ -34,32 +34,30 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://gunicorn.org
|
||||
Source: https://files.pythonhosted.org/packages/source/g/gunicorn/gunicorn-%{version}.tar.gz
|
||||
BuildRequires: %{python_module importlib_metadata}
|
||||
BuildRequires: %{python_module setuptools >= 3.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Suggests: python-evenlet
|
||||
Suggests: python-gevent
|
||||
Suggests: python-gthread
|
||||
Suggests: python-setproctitle
|
||||
Suggests: python-tornado
|
||||
BuildArch: noarch
|
||||
%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
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module eventlet}
|
||||
BuildRequires: %{python_module gevent >= 1.4}
|
||||
BuildRequires: %{python_module gunicorn}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
Requires: python-setuptools >= 3.0
|
||||
Requires(post): update-alternatives
|
||||
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
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -114,7 +112,8 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/gunicorn
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/gunicorn
|
||||
%{python_sitelib}/gunicorn-%{version}*-info
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%files -n python-gunicorn-doc
|
||||
|
Loading…
Reference in New Issue
Block a user