Source: libur-perl
Version: 0.470+ds-4
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
libur-perl could not be built reproducibly.
This is because the testsuite generates a Meta.sqlite3 file that ends
up in the binary package, and so if the testsuite is skipped then the
package contents will differ.
Patch attached that removes this file after running the tests. However,
the binary package includes files such as:
/usr/share/perl5/UR/DataSource/Meta.sqlite3-dump
... regardless of whether the testsuite is run or not — just bringing
to your attention as this smells a little weird (but might be fine).
(You would, of course, not be able to use execute_after_dh_auto_test to
reliably remove these.)
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2026-12-04 17:22:43.191328937 +0000
--- b/debian/rules 2026-12-04 17:41:59.603785915 +0000
@@ -9,3 +9,6 @@
override_dh_auto_install:
dh_auto_install
sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/bin/ur
+
+execute_after_dh_auto_test:
+ find -name Meta.sqlite3 -delete