Source: qcat
Version: 1.1.0-8
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
qcat could not be built reproducibly.

This is because the package ships different contents depending on
whether the test are run; specifically, the modification time of
some files is different.

Patch attached that uses cp's --archive feature to maintain mtimes.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-13 08:01:52.735749374 -0800
--- b/debian/rules      2025-11-13 08:17:57.412317705 -0800
@@ -5,7 +5,7 @@
 
 include /usr/share/dpkg/default.mk
 
-export PYBUILD_BEFORE_TEST=cp -r {dir}/$(DEB_SOURCE)/test 
{build_dir}/$(DEB_SOURCE) ;
+export PYBUILD_BEFORE_TEST=cp -ar {dir}/$(DEB_SOURCE)/test 
{build_dir}/$(DEB_SOURCE) ;
 
 %:
        dh $@ --buildsystem=pybuild

Reply via email to