fix cleaning empty egg-info dirs in posttrans [release 3.4.0-2mamba;Tue Jan 26 2021]
This commit is contained in:
parent
ddff58a0cb
commit
f1795faf1a
@ -1,6 +1,6 @@
|
||||
Name: python-importlib_metadata
|
||||
Version: 3.4.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A library to access the metadata for a Python package
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -42,8 +42,8 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%posttrans
|
||||
find %{python_sitearch}/site-packages/*.egg-info -type d -empty -exec rmdir {} \;
|
||||
%posttrans %{?pyappend}
|
||||
find %{python_sitearch}/*.egg-info -type d -empty -exec rmdir {} \;
|
||||
:
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
@ -51,6 +51,9 @@ find %{python_sitearch}/site-packages/*.egg-info -type d -empty -exec rmdir {} \
|
||||
%doc LICENSE
|
||||
|
||||
%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
|
||||
- update to 3.4.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user