From af4d774a08e4268eb959478689f7c56775ed8aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 23 Aug 2023 01:47:13 +0200 Subject: [PATCH] debian/rules: Remove python cache files on clean Closes: #1047209 --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 6cd36b5a..cf117dd9 100755 --- a/debian/rules +++ b/debian/rules @@ -20,3 +20,7 @@ override_dh_auto_configure: override_dh_auto_test: dh_auto_test -- -C $(BUILDDIR) --timeout-multiplier 5 + +override_dh_auto_clean: + rm -rf tests/__pycache__ + dh_auto_clean