Source: whipper
Version: 0.10.0-5
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
whipper could not be built reproducibly.

This was because it ships a different binary package depending
on whether the tests are run or not. Specifically, the testsuite
did not clean up a "test/cover.jpg" file, which was then installed
into the .deb.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-19 12:31:16.371732836 -0800
--- b/debian/rules      2025-11-19 12:37:12.319335899 -0800
@@ -5,6 +5,7 @@
 export PYBUILD_NAME=whipper
 export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM)
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export PYBUILD_AFTER_TEST = rm -v {build_dir}/whipper/test/cover.jpg
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 

Reply via email to