Source: exmh
Version: 1:2.8.0-4
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 exmh could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, exmh 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 exmh.orig/exmh-2.8.0/debian/rules exmh/exmh-2.8.0/debian/rules
--- exmh.orig/exmh-2.8.0/debian/rules 2015-02-03 14:23:26.659868533 +0000
+++ exmh/exmh-2.8.0/debian/rules 2015-02-03 14:23:56.829250370 +0000
@@ -74,7 +74,7 @@
# man pages
$(INSTALL_DATA) exmh.l $(DSTDIR)/usr/share/man/man1/exmh.1
- -gzip -9fr $(DSTDIR)/usr/share/man/man1
+ -gzip -9frn $(DSTDIR)/usr/share/man/man1
# html documentation goes into html dir, extras go into misc subdir
# others go into main docs area
@@ -85,7 +85,7 @@
$(INSTALL_DATA) debian/copyright $(DSTDIR)/usr/share/doc/exmh/copyright
$(INSTALL_DATA) debian/changelog
$(DSTDIR)/usr/share/doc/exmh/changelog.Debian
$(INSTALL_DATA) exmh.CHANGES $(DSTDIR)/usr/share/doc/exmh/changelog
- gzip -9 $(DSTDIR)/usr/share/doc/exmh/changelog*
+ gzip -9n $(DSTDIR)/usr/share/doc/exmh/changelog*
$(INSTALL_DATA) debian/README.debian $(DSTDIR)/usr/share/doc/exmh
$(INSTALL_DATA) exmh.README $(DSTDIR)/usr/share/doc/exmh/README