Source: rust-insta
Version: 1.3.0-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed
that rust-insta could not be built reproducibly.

This is because the testsuite generates a strange
.runtime.rs.pending-snap file that gets installed to the
/usr/share/cargo/registry/insta-1.3.0/src directory

Patch attached that simply deletes this file after the testsuite run.

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


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2021-09-24 09:38:41.060446401 +0100
--- b/debian/rules      2021-09-24 09:47:11.613350777 +0100
@@ -4,3 +4,4 @@
 
 override_dh_auto_test:
        dh_auto_test -- test --all || true
+       find -name "*.pending-snap" -delete

Reply via email to