From a27444e00ae030b6a94f1d1221ec121a6caecd0b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 5 Sep 2024 16:30:05 +0200 Subject: [PATCH] rebuilt with python-build and distdeps [release 3.10.5-2mamba;Thu Sep 05 2024] --- python-aiohttp.spec | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 2d6c7d7..c366949 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-aiohttp Version: 3.10.5 -Release: 1mamba +Release: 2mamba Summary: Async http client/server framework Group: System/Libraries Vendor: openmamba @@ -12,10 +13,14 @@ License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-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 BuildRequires: python3-devel >= 3.11.5-3mamba -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -28,23 +33,32 @@ Requires: python >= %python_version %setup -q -n aiohttp-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -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) +%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 +* Thu Sep 05 2024 Silvan Calarco 3.10.5-2mamba +- rebuilt with python-build and distdeps + * Tue Aug 20 2024 Automatic Build System 3.10.5-1mamba - automatic version update by autodist