%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-flit_core Version: 3.10.0 Release: 1mamba Summary: Distribution-building parts of Flit Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/pypa/flit Source: https://pypi.debian.net/flit_core/flit_core-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel ## AUTOBUILDREQ-END %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n flit_core-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --wheel --skip-dependency-check --no-isolation %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 * Sat Nov 02 2024 Automatic Build System 3.10.0-1mamba - automatic version update by autodist * Sat Sep 23 2023 Silvan Calarco 3.9.0-2mamba - rebuilt with python3 = 3.11.5 * Mon May 15 2023 Automatic Build System 3.9.0-1mamba - automatic version update by autodist * Tue Nov 08 2022 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Wed Sep 28 2022 Silvan Calarco 3.7.1-1mamba - package created using the webbuild interface