From 22c7ba30a8934efeccbbba5e8eef62969d263967 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Feb 2025 07:41:52 +0100 Subject: Manually removing some files that pybuild doesn't clean up during build (Closes: #1044344). Signed-off-by: Daniel Baumann --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3