From f1795faf1a8b2a578a5594e883e51e6d215f2bcd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:15:45 +0100 Subject: [PATCH] fix cleaning empty egg-info dirs in posttrans [release 3.4.0-2mamba;Tue Jan 26 2021] --- python-importlib_metadata.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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