From cf5f3a1b3094113c8d5f97714f8bd86c27668b43 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:15:46 +0100 Subject: [PATCH] automatic version update by autodist [release 6.0.0-1mamba;Sat Feb 11 2023] --- python-importlib_metadata.spec | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/python-importlib_metadata.spec b/python-importlib_metadata.spec index 378edbe..60024e4 100644 --- a/python-importlib_metadata.spec +++ b/python-importlib_metadata.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-importlib_metadata -Version: 4.10.1 -Release: 2mamba +Version: 6.0.0 +Release: 1mamba Summary: A library to access the metadata for a Python package Group: System/Libraries Vendor: openmamba @@ -30,26 +31,31 @@ Requires: python-typing_extensions%{?pyappend:-%pyappend} %setup -q -n importlib_metadata-%{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 +#%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 %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/importlib_metadata-*-py*.egg-info -%{python_sitearch}/importlib_metadata-*-py*.egg-info/* +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* %doc LICENSE %changelog +* Sat Feb 11 2023 Automatic Build System 6.0.0-1mamba +- automatic version update by autodist + * Tue Jan 25 2022 Silvan Calarco 4.10.1-2mamba - rebuilt with python-setuptools_scm-py3 to fix 0.0.0 version problem