Package: argvalidate Version: 0.9.0-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps
Hi! While working on the "reproducible builds" effort [1], we have noticed that argvalidate could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, argvalidate can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp argvalidate-0.9.0.old/debian/rules argvalidate-0.9.0/debian/rules --- argvalidate-0.9.0.old/debian/rules 2014-09-17 16:03:59.000000000 -0300 +++ argvalidate-0.9.0/debian/rules 2015-06-10 22:48:58.627293262 -0300 @@ -3,11 +3,15 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") +SPHINXOPTS := -D html_last_updated_fmt=\"$(BUILD_DATE)\" + %: dh $@ --with python2,sphinxdoc --buildsystem=pybuild override_dh_installdocs: - make -C doc html + make -C doc html SPHINXOPTS="$(SPHINXOPTS)" dh_installdocs override_dh_clean:
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds