Source: golang-github-akavel-rsrc
Version: 1:0.10.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-akavel-rsrc could not be built reproducibly.

This is because the testsuite does not clean up a number of files it
generates, so that if the tests are skipped (via nocheck), then the
binary package will differ.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-12 11:53:26.573519697 -0800
--- b/debian/rules      2025-12-12 12:00:38.017354393 -0800
@@ -3,5 +3,8 @@
 %:
        dh $@ --buildsystem=golang --with=golang
 
+execute_after_dh_auto_test:
+       rm -fv 
obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/akavel/rsrc/testdata/testdata.exe
+
 override_dh_auto_install:
        dh_auto_install -- --no-binaries

Reply via email to