Source: erc
Version: 5.3-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 erc could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, erc 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 erc.orig/erc-5.3/debian/rules erc/erc-5.3/debian/rules
--- erc.orig/erc-5.3/debian/rules 2015-02-03 16:32:49.337396735 +0000
+++ erc/erc-5.3/debian/rules 2015-02-03 16:36:11.030189763 +0000
@@ -63,7 +63,7 @@
install -m 0644 debian/scripts/startup.${PACKAGE} \
${PKGDIR}/etc/emacs/site-start.d/50${PACKAGE}.el
## Compress stuff
- gzip -9f ${PKGDIR}${DOCDIR}/changelog.Debian \
+ gzip -9fn ${PKGDIR}${DOCDIR}/changelog.Debian \
${PKGDIR}${DOCDIR}/changelog \
${PKGDIR}${DOCDIR}/NEWS
## Fix permissions