diff --git a/python-build.spec b/python-build.spec index 1f338bb..d133a82 100644 --- a/python-build.spec +++ b/python-build.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2-) Name: python-build Version: 0.8.0 -Release: 1mamba +Release: 2mamba Summary: A simple, correct PEP517 package builder Group: System/Libraries Vendor: openmamba @@ -43,6 +43,11 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +mv %{buildroot}%{_bindir}/pyproject-build{,-%{with_pyver}} +sed -i "s|pyproject-build|pyproject-build-%{with_pyver}|" %{name}.filelist +%endif + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info @@ -50,6 +55,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %doc LICENSE %changelog +* Sat May 28 2022 Silvan Calarco 0.8.0-2mamba +- rebuilt with python 3.10 subpackage + * Mon May 23 2022 Automatic Build System 0.8.0-1mamba - automatic version update by autodist