diff --git a/python-pep517.spec b/python-pep517.spec index fa519e3..c9a3497 100644 --- a/python-pep517.spec +++ b/python-pep517.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2-) Name: python-pep517 -Version: 0.12.0 -Release: 2mamba +Version: 0.13.0 +Release: 1mamba Summary: Wrappers to build Python packages using PEP 517 hooks Group: System/Libraries Vendor: openmamba @@ -28,25 +28,24 @@ BuildRequires: python3.7dist(zipp) %setup -q -n pep517-%{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 "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist - -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%dir %{python_sitelib}/pep517-%{version}.dist-info +%{python_sitelib}/pep517-%{version}.dist-info/* +%dir %{python_sitelib}/pep517 +%{python_sitelib}/pep517/* %doc LICENSE %changelog +* Fri Oct 07 2022 Automatic Build System 0.13.0-1mamba +- automatic version update by autodist + * Sat May 28 2022 Silvan Calarco 0.12.0-2mamba - rebuilt with python 3.10 subpackage