Source: gap-ctbllib
Version: 1r2p2.dfsg.0-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Dear Maintainer,
While working on the “reproducible builds” effort [1], we have noticed
that 'gap-ctbllib' could not be built reproducibly.
The attached patch removes timestamps from the compressed *.{six,toc} files.
Once applied, gap-ctbllib can be built reproducibly in our current
experimental framework.
Regards,
Alexis Bienvenüe.
[1]: https://wiki.debian.org/ReproducibleBuilds
diff -Nru gap-ctbllib-1r2p2.dfsg.0/debian/patches/doc-makefile gap-ctbllib-1r2p2.dfsg.0/debian/patches/doc-makefile
--- gap-ctbllib-1r2p2.dfsg.0/debian/patches/doc-makefile 2014-08-06 23:47:04.000000000 +0200
+++ gap-ctbllib-1r2p2.dfsg.0/debian/patches/doc-makefile 2016-05-17 15:11:41.000000000 +0200
@@ -26,8 +26,8 @@
+install-help:
+ install -d $(DOCDIR)/$(DIRS)
+ set -e; for man in $(DIRS); do \
-+ gzip --best $$man/manual.six; \
-+ gzip --best $$man/main.toc; \
++ gzip --best -n $$man/manual.six; \
++ gzip --best -n $$man/main.toc; \
+ install -o root -g root -m 0644 $$man/manualbib.xml $(DOCDIR)/$$man;\
+ install -o root -g root -m 0644 $$man/manualbib.xml.bib $(DOCDIR)/$$man;\
+ install -o root -g root -m 0644 $$man/manual.six.gz $(DOCDIR)/$$man;\