diff --git a/python-gunicorn.changes b/python-gunicorn.changes index 79bdab3..31e1002 100644 --- a/python-gunicorn.changes +++ b/python-gunicorn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 8 23:05:51 UTC 2024 - Matej Cepl + +- Clean up the SPEC file + ------------------------------------------------------------------- Mon Jan 8 09:03:41 UTC 2024 - Andreas Schneider diff --git a/python-gunicorn.spec b/python-gunicorn.spec index affc6e1..b40c46b 100644 --- a/python-gunicorn.spec +++ b/python-gunicorn.spec @@ -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