Source: golang-github-go-macaron-toolbox
Version: 0.0~git20170220.0.6766b8f-7
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-go-macaron-toolbox could not be built reproducibly.

This is because whilst the packaging cleans up some files generated
by the testsuite (via a call to find), it does not remove the now empty
directory that contains them. This means that if the tests are
skipped (via nocheck), then the binary package will not contain that
empty directory.

A patch is attached, but it may be cleaner and clearer to simply
remove that entire profile/ directory.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-12 11:51:13.022754737 -0800
--- b/debian/rules      2025-12-12 11:59:23.124562284 -0800
@@ -6,3 +6,4 @@
 override_dh_auto_install:
        dh_auto_install
        find debian/ -type f \( -name '*.memprof' -or -name '*.pprof' \) -delete
+       find debian/ -type d -empty -delete

Reply via email to