diff --git a/gunicorn-21.2.0.tar.gz b/gunicorn-21.2.0.tar.gz deleted file mode 100644 index c6bb4374d7158862b743bf70270fda3a5669ad37..0000000000000000000000000000000000000000 Binary files a/gunicorn-21.2.0.tar.gz and /dev/null differ diff --git a/gunicorn-22.0.0.tar.gz b/gunicorn-22.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..002fe2ae1a527f9a07a6d130842a72fcb600b5cf Binary files /dev/null and b/gunicorn-22.0.0.tar.gz differ diff --git a/python-gunicorn.spec b/python-gunicorn.spec index ad41fea2558ff51da65f8de20ac4ff20d9377a4b..1f8700b535c10726915bbe77811c63036769e616 100644 --- a/python-gunicorn.spec +++ b/python-gunicorn.spec @@ -1,13 +1,16 @@ %global _empty_manifest_terminate_build 0 Name: python-gunicorn -Version: 21.2.0 +Version: 22.0.0 Release: 1 Summary: WSGI HTTP Server for UNIX License: MIT URL: https://pypi.org/project/gunicorn -Source0: https://files.pythonhosted.org/packages/06/89/acd9879fa6a5309b4bf16a5a8855f1e58f26d38e0c18ede9b3a70996b021/gunicorn-21.2.0.tar.gz +Source0: https://files.pythonhosted.org/packages/06/89/acd9879fa6a5309b4bf16a5a8855f1e58f26d38e0c18ede9b3a70996b021/gunicorn-22.0.0.tar.gz BuildArch: noarch +BuildRequires: python3-pip python3-wheel +BuildRequires: python3-hatchling python3-hatch-vcs + %description Gunicorn(Green Unicorn) is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model ported from Ruby's Unicorn_ project. The Gunicorn server is broadly @@ -37,10 +40,10 @@ Development documents and examples for gunicorn. %autosetup -n gunicorn-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -69,11 +72,15 @@ mv %{buildroot}/doclist.lst . %files -n python3-gunicorn -f filelist.lst %dir %{python3_sitelib}/* +%{_usr}/lib/python3.11/site-packages/gunicorn/* %files help -f doclist.lst %{_pkgdocdir} %changelog +* Wed Jun 05 2024 liuzhilin - 22.0.0-1 +- Upgrade to version 22.0.0 to fix CVE-2024-1135 + * Wed Jan 10 2024 Dongxing Wang - 21.2.0-1 - Upgrade to version 21.2.0