Source: nmrpflash
Version: 0.9.14-16-ge95526d-1
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
nmrpflash could not be built reproducibly.

This is because, whilst it uses SOURCE_DATE_EPOCH, it does not ensure
that the date ignores the build timezone when generating the manpage.

Patch attached that specifies UTC.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-04-21 09:28:35.664524460 +0100
--- b/debian/rules      2020-04-21 09:29:15.524749917 +0100
@@ -21,7 +21,7 @@
 debian/nmrpflash.1: debian/nmrpflash.pod
        pod2man -c "nmrpflash documentation" \
            --release "nmrpflash $(DEB_VERSION_UPSTREAM)" \
-           --date "$(shell date --date=@$(SOURCE_DATE_EPOCH) +%Y-%m-%d)" \
+           --date "$(shell date --utc --date=@$(SOURCE_DATE_EPOCH) +%Y-%m-%d)" 
\
            $< > $@
 
 override_dh_auto_install:: $(MANUALS)

Reply via email to