%define pkgname tito Name: tito Version: 0.6.25 Release: 1mamba Summary: A tool for managing rpm based git projects Group: Applications/Development Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/rpm-software-management/tito Source: https://github.com/rpm-software-management/tito.git/tito-%{version}-1/tito-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel BuildRequires: perl-devel BuildRequires: python3.11dist(blessed) ## AUTOBUILDREQ-END %description A tool for managing rpm based git projects. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl #%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 %defattr(-,root,root) %{_bindir}/generate-patches.pl %{_bindir}/tito %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/%{pkgname} %{python_sitelib}/%{pkgname}/* %doc AUTHORS COPYING LICENSE %changelog * Thu Feb 01 2024 Automatic Build System 0.6.25-1mamba - automatic version update by autodist * Fri Dec 29 2023 Silvan Calarco 0.6.24-1mamba - package created using the webbuild interface