Source: golang-github-muesli-termenv
Version: 0.15.2-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-muesli-termenv could not be built reproducibly.
This is because a testdata/ directory was deleted in the
execute_after_dh_auto_test
target so it did not end up in the binary package. But if the tests
are skipped this resulted in this directory *not* being deleted, and
would therefore be shipped after all.
Patch attached that moves this removal to the execute_before_dh_auto_install
target, which is run regardless of the presence of nocheck.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2025-12-15 10:27:21.463425102 -0800
--- b/debian/rules 2025-12-15 10:33:43.954952184 -0800
@@ -11,5 +11,5 @@
mkdir -p _build/src/github.com/muesli/termenv/testdata
cp testdata/templatehelper*
_build/src/github.com/muesli/termenv/testdata
-execute_after_dh_auto_test:
+execute_before_dh_auto_install:
rm -r _build/src/github.com/muesli/termenv/testdata