Source: ara Version: 1.0.31 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, Whilst working on the "reproducible builds" effort [0], we noticed that ara could not be built reproducibly. Patch attached. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/common/mkversion.sh 2016-08-06 23:30:32.763007181 +0100 --- b/common/mkversion.sh 2016-08-06 23:37:00.142190926 +0100 @@ -1,7 +1,7 @@ #!/bin/sh VERSION=`sed -n -e '1s/^ara (\([^ ]*\)) .*$/\1/p' ../debian/changelog` -DATE=`date +'%04Y-%02m-%02d'` +DATE=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +'%04Y-%02m-%02d') rm -f version.ml sed -e 's/\$VERSION\$/'"$VERSION"'/g' \