Source: rust-xdg
Version: 2.5.2-3
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
rust-xdg could not be built reproducibly.

This is because the testsuite does not 100% clean up after itself, so
that if the tests are skipped (ie. via "nocheck") then the package
will not contain those files.

Patch attached that removes these files after running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-08 15:11:12.567034664 -0800
--- b/debian/rules      2025-12-08 15:13:35.122299617 -0800
@@ -4,3 +4,5 @@
 
 override_dh_auto_test:
        dh_auto_test -- test --all
+       rm -rfv test_files/runtime-good
+       rm -rfv test_files/user/cache/myapp

Reply via email to