rebuilt with python dist deps [release 3.4.0-3mamba;Thu Mar 18 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 11:15:45 +01:00
parent f1795faf1a
commit 786f299087

View File

@ -1,6 +1,6 @@
Name: python-importlib_metadata
Version: 3.4.0
Release: 2mamba
Release: 3mamba
Summary: A library to access the metadata for a Python package
Group: System/Libraries
Vendor: openmamba
@ -10,10 +10,12 @@ URL: https://importlib-metadata.readthedocs.io/en/latest/
Source: https://pypi.debian.net/importlib-metadata/importlib_metadata-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
#python3.7dist(typing-extensions): unidentified build requirement
#python3.7dist(zipp): unidentified build requirement
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: python-wheel-py3
BuildRequires: python-pip-py3
%description
%{summary}.
@ -40,17 +42,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%posttrans %{?pyappend}
find %{python_sitearch}/*.egg-info -type d -empty -exec rmdir {} \;
:
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/importlib_metadata-%{version}-py*.egg-info
%{python_sitearch}/importlib_metadata-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Thu Mar 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-3mamba
- rebuilt with python dist deps
* Tue Jan 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-2mamba
- fix cleaning empty egg-info dirs in posttrans