Package: musicbrainzngs Version: 0.5-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 musicbrainzngs could not be built reproducibly. The attached patch removes extra timestamps from the build system. ensure a stable file order when creating the source archive. Once applied, musicbrainzngs can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp musicbrainzngs-0.5.old/debian/rules musicbrainzngs-0.5/debian/rules --- musicbrainzngs-0.5.old/debian/rules 2014-10-12 18:28:41.000000000 -0200 +++ musicbrainzngs-0.5/debian/rules 2015-06-11 09:50:54.495923368 -0300 @@ -4,12 +4,16 @@ #export DH_VERBOSE=1 export PYBUILD_NAME=musicbrainzngs + +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") + %: dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build - make -C docs html + make -C docs html SPHINXOPTS="-D html_last_updated_fmt=\"$(BUILD_DATE)\"" 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