%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-distlib Version: 0.3.7 Release: 2mamba Summary: Low-level parts of packaging/distutils2 which implement the relevant PEPs Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://bitbucket.org/pypa/distlib/src/master/ Source: https://pypi.debian.net/distlib/distlib-%{version}.tar.gz License: Python Software Foundation License ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n distlib-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl %files %{?pyappend} %defattr(-,root,root) %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/%{pkgname} %{python_sitelib}/%{pkgname}/* %changelog * Tue Sep 26 2023 Automatic Build System 0.3.7-2mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Mon Jul 17 2023 Automatic Build System 0.3.7-1mamba - automatic version update by autodist * Sun Oct 09 2022 Silvan Calarco 0.3.6-2mamba - rebuilt with python 3.10 * Sat Oct 08 2022 Silvan Calarco 0.3.6-1mamba - update to 0.3.6 * Thu Dec 09 2021 Automatic Build System 0.3.4-1mamba - automatic version update by autodist * Wed Sep 22 2021 Automatic Build System 0.3.3-1mamba - automatic version update by autodist * Sat May 29 2021 Automatic Build System 0.3.2-1mamba - automatic version update by autodist * Mon Jan 25 2021 Silvan Calarco 0.3.1-1mamba - package created using the webbuild interface