From 0dec8a2c91bffc0de5f3b17e52fb2f0a0ee865c3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:06:36 +0100 Subject: [PATCH] add cleanup of empty egg-info dirs [release 0.56.0-2mamba;Sat Oct 31 2020] --- meson.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meson.spec b/meson.spec index a0a8ca3..03c2a48 100644 --- a/meson.spec +++ b/meson.spec @@ -1,6 +1,6 @@ Name: meson Version: 0.56.0 -Release: 1mamba +Release: 2mamba Summary: The Meson Build System Group: Development/Tools Vendor: openmamba @@ -45,6 +45,11 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.meson %find_lang %{name} || touch %{name}.lang +%posttrans +# cleanup of empty egg-info dirs +find %{python3_sitearch}/*.egg-info -type d -empty -delete > /dev/null || true +: + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -54,6 +59,9 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.meson %doc COPYING %changelog +* Sat Oct 31 2020 Silvan Calarco 0.56.0-2mamba +- add cleanup of empty egg-info dirs + * Fri Oct 30 2020 Automatic Build System 0.56.0-1mamba - automatic version update by autodist