fix cleaning empty egg-info dirs in posttrans [release 3.4.0-2mamba;Tue Jan 26 2021]

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

View File

@ -1,6 +1,6 @@
Name: python-importlib_metadata Name: python-importlib_metadata
Version: 3.4.0 Version: 3.4.0
Release: 1mamba Release: 2mamba
Summary: A library to access the metadata for a Python package Summary: A library to access the metadata for a Python package
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -42,8 +42,8 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "s,.*/man/.*,&.gz," %{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%posttrans %posttrans %{?pyappend}
find %{python_sitearch}/site-packages/*.egg-info -type d -empty -exec rmdir {} \; find %{python_sitearch}/*.egg-info -type d -empty -exec rmdir {} \;
: :
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
@ -51,6 +51,9 @@ find %{python_sitearch}/site-packages/*.egg-info -type d -empty -exec rmdir {} \
%doc LICENSE %doc LICENSE
%changelog %changelog
* Tue Jan 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-2mamba
- fix cleaning empty egg-info dirs in posttrans
* Mon Jan 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-1mamba * Mon Jan 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-1mamba
- update to 3.4.0 - update to 3.4.0