Source: acct Version: 6.6.2-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that acct could not be built reproducibly due to it updating the timestamps in the documentation to the current time. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2017-05-09 14:58:18.514480796 +0100 --- b/debian/rules 2017-05-09 15:26:27.069147616 +0100 @@ -1,4 +1,5 @@ #!/usr/bin/make -f +include /usr/share/dpkg/pkg-info.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ @@ -13,6 +14,9 @@ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ $(NULL) + # Ensure any embedded "updated.." timestamps in documentation match the + # latest entry in debian/changelog. + touch --date="@$(SOURCE_DATE_EPOCH)" accounting.texi override_dh_auto_build: dh_auto_build