Package: python-amqp Version: 1.4.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 python-amqp could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, python-amqp can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp python-amqp-1.4.6.old/debian/rules python-amqp-1.4.6/debian/rules --- python-amqp-1.4.6.old/debian/rules 2015-05-19 06:47:20.000000000 -0300 +++ python-amqp-1.4.6/debian/rules 2015-06-11 12:36:32.040157840 -0300 @@ -3,6 +3,9 @@ # 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)") + export PYBUILD_NAME=amqp %: @@ -10,7 +13,7 @@ export PYBUILD_NAME=amqp override_dh_auto_build: dh_auto_build - PYTHONPATH=. sphinx-build -b html -N docs/ docs/.build/html + PYTHONPATH=. sphinx-build -D today="$(BUILD_DATE)" -b html -N docs/ docs/.build/html override_dh_clean: rm -rf docs/.build
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds