diff --git a/python-importlib_metadata.spec b/python-importlib_metadata.spec index d44c128..6d4d2c1 100644 --- a/python-importlib_metadata.spec +++ b/python-importlib_metadata.spec @@ -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 3.4.0-2mamba +- fix cleaning empty egg-info dirs in posttrans + * Mon Jan 25 2021 Silvan Calarco 3.4.0-1mamba - update to 3.4.0