Package: migrate Version: 0.9.6-1 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 migrate could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, migrate can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp migrate-0.9.6.old/debian/rules migrate-0.9.6/debian/rules --- migrate-0.9.6.old/debian/rules 2015-04-27 05:42:44.000000000 -0300 +++ migrate-0.9.6/debian/rules 2015-06-23 19:06:31.450484794 -0300 @@ -12,6 +12,9 @@ DEB_UPSTREAM_VERSION=$(shell dpkg-parsec DOCS=$(shell find docs/ -name "*.rst" -printf "%p ") PYLIBDIR=$(call py_libdir,$(shell pyversions -d)) +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") + %: dh $@ --with python2,sphinxdoc --buildsystem=python_distutils @@ -23,7 +26,7 @@ override_dh_auto_clean: override_dh_auto_install: # install documentation - PYTHONPATH=$(CURDIR) sphinx-build -b html -a -E -N \ + PYTHONPATH=$(CURDIR) sphinx-build -b html -a -E -N -D today="$(BUILD_DATE)" \ doc/source \ debian/python-migrate/usr/share/doc/python-migrate/html/ cp debian/install.tmpl debian/install
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds