automatic version update by autodist [release 22.0.0-1mamba;Sun Jul 21 2024]

This commit is contained in:
Automatic Build System 2024-07-22 10:40:14 +02:00
parent 195b143e55
commit e259e9ed57

View File

@ -1,6 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-gunicorn Name: python-gunicorn
Version: 21.2.0 Version: 22.0.0
Release: 2mamba Release: 1mamba
Summary: WSGI HTTP Server for UNIX Summary: WSGI HTTP Server for UNIX
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -12,7 +13,6 @@ License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel BuildRequires: libpython311-devel
BuildRequires: python3.11dist(packaging) BuildRequires: python3.11dist(packaging)
BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba BuildRequires: python3-devel >= 3.11.5-3mamba
@ -34,33 +34,32 @@ Obsoletes: gunicorn <= 20.1.0-1mamba
%setup -q -n gunicorn-%{version} %setup -q -n gunicorn-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} -m installer --destdir=%{buildroot} dist/*.whl
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist #%if "%{?with_pyver}" != "3"
sed -i "/_gaiohttp.pyc/d;/_gaiohttp.pyo/d" %{name}.filelist ## Rename any conflicting file outside of python site packages tree
sed -i "/_gaiohttp.pyc/d;/_gaiohttp.pyo/d" %{name}.filelist #for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
ln -s gunicorn %{buildroot}%{_bindir}/run_gunicorn %files %{?pyappend}
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/run_gunicorn %{_bindir}/gunicorn
%dir %{python_sitearch}/gunicorn-%{version}-py*.egg-info %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/gunicorn-%{version}-py*.egg-info/* %{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE THANKS %doc LICENSE THANKS
%changelog %changelog
* Sun Jul 21 2024 Automatic Build System <autodist@openmamba.org> 22.0.0-1mamba
- automatic version update by autodist
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 21.2.0-2mamba * Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 21.2.0-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba