Source: tetradraw
Version: 2.0.3-8.2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that tetradraw could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, tetradraw can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad tetradraw.orig/tetradraw-2.0.3/debian/rules 
tetradraw/tetradraw-2.0.3/debian/rules
--- tetradraw.orig/tetradraw-2.0.3/debian/rules 2015-02-08 02:51:27.174149139 
+0000
+++ tetradraw/tetradraw-2.0.3/debian/rules      2015-02-08 02:52:30.865008803 
+0000
@@ -79,7 +79,7 @@
                $(TMP)/usr/share/doc/$(PKG)
        $(INSTALL_FILE) ChangeLog \
                $(TMP)/usr/share/doc/$(PKG)/changelog
-       gzip -9 $(TMP)/usr/share/man/man1/tetradraw.1 \
+       gzip -9n $(TMP)/usr/share/man/man1/tetradraw.1 \
                $(TMP)/usr/share/doc/$(PKG)/changelog
        touch install-stamp
 
@@ -100,7 +100,7 @@
                $(TMP)/usr/share/doc/$(PKG)
        $(INSTALL_FILE) debian/changelog \
                $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
-       gzip -9 $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
+       gzip -9n $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
        $(INSTALL_SCRIPT) debian/postinst debian/postrm $(TMP)/DEBIAN
        dpkg-shlibdeps -Tdebian/substvars -dDepends \
                $(TMP)/usr/bin/tetra*

Reply via email to