Source: mh-book
Version: 200605-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that mh-book could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, mh-book can be built reproducibly in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff -urNad mh-book.orig/mh-book-200605/debian/rules
mh-book/mh-book-200605/debian/rules
--- mh-book.orig/mh-book-200605/debian/rules 2015-02-07 23:26:51.666005341
+0000
+++ mh-book/mh-book-200605/debian/rules 2015-02-07 23:27:47.848467823 +0000
@@ -34,7 +34,7 @@
dh_installchangelogs
dh_link
dh_strip
- gzip -9 debian/mh-book/usr/share/doc/mh-book/changelog.Debian
+ gzip -9n debian/mh-book/usr/share/doc/mh-book/changelog.Debian
dh_fixperms
chmod +x debian/mh-book/usr/share/doc/mh-book/examples/mh/bin/*
chmod +x debian/mh-book/usr/share/doc/mh-book/examples/xmh/bin/*