Source: gerstensaft
Version: 0.3-4
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, gerstensaft 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 gerstensaft.orig/gerstensaft-0.3/debian/rules 
gerstensaft/gerstensaft-0.3/debian/rules
--- gerstensaft.orig/gerstensaft-0.3/debian/rules       2015-02-08 
01:31:08.918269027 +0000
+++ gerstensaft/gerstensaft-0.3/debian/rules    2015-02-08 01:32:18.357370760 
+0000
@@ -67,10 +67,10 @@
        #
        $(installdoc) debian/copyright debian/tmp/usr/share/doc/$(package)/
        $(installdoc) readme debian/tmp/usr/share/doc/$(package)/
-       gzip -9f debian/tmp/usr/share/doc/$(package)/changelog.Debian
+       gzip -9nf debian/tmp/usr/share/doc/$(package)/changelog.Debian
        #
        $(MAKE) PIXMAP_WM_DIR=`pwd`/debian/tmp/usr/share/pixmaps 
prefix=`pwd`/debian/tmp/usr install
-       gzip -9 debian/tmp/usr/share/man/man?/*
+       gzip -9n debian/tmp/usr/share/man/man?/*
        $(STRIP) debian/tmp/usr/bin/beer
        #
        $(installbin) -d debian/tmp/usr/share/menu
@@ -81,7 +81,7 @@
        #
        $(installbin) -d debian/tmp/usr/share/man/ru/man1
        $(installdoc) debian/beer.ru.1 debian/tmp/usr/share/man/ru/man1/beer.1
-       gzip -9 debian/tmp/usr/share/man/*/man?/*
+       gzip -9n debian/tmp/usr/share/man/*/man?/*
        #
        dpkg-shlibdeps debian/tmp/usr/bin/beer
        dpkg-gencontrol -isp
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to