aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarDaniel Baumann <daniel@debian.org>2025-02-17 07:41:52 +0100
committerLibravatarDaniel Baumann <daniel@debian.org>2025-02-17 07:41:52 +0100
commit22c7ba30a8934efeccbbba5e8eef62969d263967 (patch)
tree38c2e349b5735be1b17bcc659088725cb204257e
parent91e68a4e2fe60cd9d4720d3ce4c678b7c115245c (diff)
Manually removing some files that pybuild doesn't clean up during build (Closes: #1044344).
Signed-off-by: Daniel Baumann <daniel@debian.org>
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 8f33b31..cac3bd5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,12 @@ VERSION := $(shell dpkg-parsechangelog -SVersion | sed -e 's|~dev|.dev|' -e 's|+
execute_after_dh_auto_clean:
rm -f RELEASE-VERSION
+ # help pybuild
+ for ITEM in $$(find . -type d -name "*.egg-info" -or -type f -name "*.egg"); \
+ do \
+ rm -rf "$${ITEM}"; \
+ done
+
execute_before_dh_auto_build:
echo "$(VERSION)" > RELEASE-VERSION