Source: libscalar-defer-perl Version: 0.23-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps
Hi! While working on the “reproducible builds” effort [1], we have noticed that libscalar-defer-perl could not be built reproducibly. The attached patch removes extra timestamps from the build system and ensure a stable file order when creating the source archive. Once applied, libscalar-defer-perl can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
Only in libscalar-defer-perl-0.23-new: blib diff -ur libscalar-defer-perl-0.23/debian/changelog libscalar-defer-perl-0.23-new/debian/changelog --- libscalar-defer-perl-0.23/debian/changelog 2015-04-19 10:59:01.000000000 +0000 +++ libscalar-defer-perl-0.23-new/debian/changelog 2015-04-19 11:00:05.244377959 +0000 @@ -1,3 +1,11 @@ +libscalar-defer-perl (0.23-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Set timestamp in manual page to last package change time from + changelog, to make builds reproducible. + + -- Jelmer Vernooij <jel...@debian.org> Sun, 19 Apr 2015 11:00:05 +0000 + libscalar-defer-perl (0.23-1) unstable; urgency=low [ Jonathan Yu ] Only in libscalar-defer-perl-0.23-new/debian: files Only in libscalar-defer-perl-0.23-new/debian: libscalar-defer-perl Only in libscalar-defer-perl-0.23-new/debian: libscalar-defer-perl.debhelper.log Only in libscalar-defer-perl-0.23-new/debian: libscalar-defer-perl.substvars diff -ur libscalar-defer-perl-0.23/debian/rules libscalar-defer-perl-0.23-new/debian/rules --- libscalar-defer-perl-0.23/debian/rules 2015-04-19 10:59:01.000000000 +0000 +++ libscalar-defer-perl-0.23-new/debian/rules 2015-04-19 10:59:38.911642206 +0000 @@ -1,4 +1,9 @@ #!/usr/bin/make -f +# Set man page timestamp to last package change time. +BUILD_DATE = $(shell dpkg-parsechangelog -S Date) +POD_MAN_DATE = $(shell date -u +"%Y-%m-%d" --date="$(BUILD_DATE)") +export POD_MAN_DATE + %: dh $@ Only in libscalar-defer-perl-0.23-new: Makefile Only in libscalar-defer-perl-0.23-new: MYMETA.json Only in libscalar-defer-perl-0.23-new: MYMETA.yml Only in libscalar-defer-perl-0.23-new: pm_to_blib
signature.asc
Description: Digital signature