From 172e1945b2ccf7cc1ac14de7ba9d3ee3eb903f71 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 9 Feb 2025 20:03:08 +0100 Subject: [PATCH] Manually removing some files that pybuild doesn't clean up during build (Closes: #1047595). Signed-off-by: Daniel Baumann --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index f837a53..6d2e11f 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,10 @@ export PYBUILD_NAME=pgcli %: dh ${@} --buildsystem=pybuild +execute_after_dh_auto_clean: + # help pybuild + rm -rf *.egg-info + execute_after_dh_auto_install: mkdir -p debian/pgcli/usr/share/bash-completion/completions cp pgcli-completion.bash debian/pgcli/usr/share/bash-completion/completions/pgcli