Source: golang-github-viant-toolbox
Version: 0.33.2-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
golang-github-viant-toolbox could not be built reproducibly.
This is becuase it ships files generated during the test phase that
contain the build path. Patch attached that strips these, although
please check that source.go is a test-related file; from a very
quick glance it looks like it is.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2021-02-20 09:43:23.451310506 +0000
--- b/debian/rules 2021-02-20 09:56:40.535574216 +0000
@@ -20,3 +20,7 @@
dh_auto_test
endif
endif
+
+override_dh_auto_install:
+ dh_auto_install
+ find debian/ \( -name "*.stdout" -or -name "*.stdin" -or -name
"source.go" \) -delete