Source: goobook
Version: 3.5.3-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
goobook could not be built reproducibly.

This is because the call to modify the mtime of the README.txt file
could be overwritten by the general 'clamping' of timestamps to the
"maximum" of SOURCE_DATE_EPOCH.

A patch is attached that uses the value of SOURCE_DATE_EPOCH instead
of the "2025-09-14 10:00:00" value.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-03 11:43:30.284046545 -0800
--- b/debian/rules      2025-12-03 11:56:20.610957171 -0800
@@ -27,4 +27,4 @@
 override_dh_installdocs:
        dh_installdocs
        # Modify the timestamp of README.rst file, since it's too far in the 
past
-       touch -d "2025-09-14 10:00:00" 
debian/goobook/usr/share/doc/goobook/README.rst
+       touch -d "@$(SOURCE_DATE_EPOCH)" 
debian/goobook/usr/share/doc/goobook/README.rst

Reply via email to