Source: libimage-librsvg-perl
Version: 0.07-10
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
libimage-librsvg-perl could not be built reproducibly.

This is because the testsuite does not clean up a generated file
which ends up in the binary package, meaning that if the tests are
skipped (eg. via "nocheck") then the package will not contain that
file.

Patch attached that deletes this file after running the testsuite.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-01-16 10:24:16.493654725 -0800
--- b/debian/rules      2026-01-16 10:29:54.997602928 -0800
@@ -15,5 +15,9 @@
 override_dh_installexamples:
        dh_installexamples -Xsvg.gz examples/*
 
+execute_after_dh_auto_test:
+       # Generated by the testsuite
+       rm -fv examples/test.png
+
 %:
        dh $@

Reply via email to