Source: scotch
Version: 5.1.12b.dfsg-2
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 scotch could not be built reproducibly.

The attached patch removes extra timestamps from the gzip files. Once
applied, scotch can be built reproducibly in our current experimental
framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Dhole
diff --git a/scotch-5.1.12b.dfsg/debian/rules b/scotch-5.1.12b.dfsg/debian/rules
index 1b5dd0d..c1364cd 100755
--- a/scotch-5.1.12b.dfsg/debian/rules
+++ b/scotch-5.1.12b.dfsg/debian/rules
@@ -117,7 +117,7 @@ install: build
        cp debian/ptscotch_esmumps.1 int/share/man/man1 
 #      Fix lintian warnings
        for file in $(shell ls int/bin); do \
-          (cd int/share/man/man1 && gzip -9 $$file.1); \
+          (cd int/share/man/man1 && gzip -9n $$file.1); \
        done
 
        for file in $(shell ls int/bin); do \

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to