rebuilt with python-build and distdeps [release 3.10.5-2mamba;Thu Sep 05 2024]

This commit is contained in:
Silvan Calarco 2024-09-05 16:30:05 +02:00
parent 954e138577
commit a27444e00a

View File

@ -1,6 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-aiohttp Name: python-aiohttp
Version: 3.10.5 Version: 3.10.5
Release: 1mamba Release: 2mamba
Summary: Async http client/server framework Summary: Async http client/server framework
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -12,10 +13,14 @@ License: Apache License 2.0
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libpython311-devel BuildRequires: libpython311-devel
BuildRequires: python3.11dist(aiohappyeyeballs)
BuildRequires: python3.11dist(aiosignal)
BuildRequires: python3.11dist(attrs)
BuildRequires: python3.11dist(frozenlist)
BuildRequires: python3.11dist(multidict)
BuildRequires: python3.11dist(yarl)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba BuildRequires: python3-devel >= 3.11.5-3mamba
BuildRequires: libpython-devel
Requires: python >= %python_version
%description %description
%{summary}. %{summary}.
@ -28,23 +33,32 @@ Requires: python >= %python_version
%setup -q -n aiohttp-%{version} %setup -q -n aiohttp-%{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=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist #%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend}
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%dir %{python_sitearch}/%{pkgname}/.hash
%{python_sitearch}/%{pkgname}/.hash/*
%changelog %changelog
* Thu Sep 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.5-2mamba
- rebuilt with python-build and distdeps
* Tue Aug 20 2024 Automatic Build System <autodist@openmamba.org> 3.10.5-1mamba * Tue Aug 20 2024 Automatic Build System <autodist@openmamba.org> 3.10.5-1mamba
- automatic version update by autodist - automatic version update by autodist