Source: speech-tools Version: 1:2.4~release-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timezones X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, Whilst working on the "reproducible builds" effort [0], we noticed that speech-tools could not be built reproducibly. Patch attached that ensures date is emitted in the same timezone every time. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/timestamp 2016-07-17 15:31:48.556984138 +0200 --- b/debian/patches/timestamp 2016-07-17 15:51:18.138605255 +0200 @@ -5,7 +5,7 @@ echo ' ## This file is created automatically from your config file.' echo ' ## Do not hand edit.' -echo ' ## Created:'`date` -+echo ' ## Created:'`date -d @$SOURCE_DATE_EPOCH` ++echo ' ## Created:'`date --utc -d @$SOURCE_DATE_EPOCH` echo ' ###########################################################################' echo '' @@ -16,7 +16,7 @@ echo ' ## This file is created automatically from your config file.' echo ' ## Do not hand edit.' -echo ' ## Created:'`date` -+echo ' ## Created:'`date -d @$SOURCE_DATE_EPOCH` ++echo ' ## Created:'`date --utc -d @$SOURCE_DATE_EPOCH` echo ' ###########################################################################' echo ''