From 2630e3f7ff6ee5f9d0ea7454d382426a843c0ad7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 14 Aug 2023 10:22:47 +0200 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(+) (limited to 'debian/rules') 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