Source: crasm
Version: 1.11-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
crasm could not be built reproducibly.

This is because it ships a different binary package depending on
whether the testsuite is run or not. Specifically, the testsuite
generates a directory called test_output/ that gets shipped with
the binary package; a patch is attached that removes this directory
after running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-17 10:29:42.276997884 -0800
--- b/debian/rules      2025-11-17 10:46:04.106518655 -0800
@@ -7,6 +7,9 @@
 override_dh_auto_install:
        dh_auto_install -- prefix=$(CURDIR)/debian/crasm/usr
 
+execute_after_dh_auto_test:
+       rm -rfv test/test_output/
+
 %:
        dh $@
 

Reply via email to