Source: ratfor
Version: 1.0-15
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 ratfor could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, ratfor 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 ratfor.orig/ratfor-1.0/debian/rules ratfor/ratfor-1.0/debian/rules
--- ratfor.orig/ratfor-1.0/debian/rules 2015-02-12 02:57:31.102971326 +0000
+++ ratfor/ratfor-1.0/debian/rules      2015-02-12 02:58:10.088376731 +0000
@@ -55,7 +55,7 @@
 
        install -d -o root -g root -m 755 debian/tmp/usr/share/man/man1
        install -o root -g root -m 644 ratfor.1 debian/tmp/usr/share/man/man1
-       gzip -9f debian/tmp/usr/share/man/man1/ratfor.1
+       gzip -9nf debian/tmp/usr/share/man/man1/ratfor.1
        install -d -o root -g root -m 755 debian/tmp/usr/share/doc/$(package)
        install -o root -g root -m 644  BUGS\
          debian/tmp/usr/share/doc/$(package)
@@ -66,12 +66,12 @@
        install -d -o root -g root -m 755 
debian/tmp/usr/share/doc/$(package)/examples
        install -o root -g root -m 644 *.r \
          debian/tmp/usr/share/doc/$(package)/examples
-       gzip -9f debian/tmp/usr/share/doc/$(package)/examples/*.r
+       gzip -9nf debian/tmp/usr/share/doc/$(package)/examples/*.r
        install -d -o root -g root -m 755 debian/tmp/DEBIAN
 
        install -c -m 0644 debian/changelog \
                               
debian/tmp/usr/share/doc/$(package)/changelog.Debian 
-       gzip -9 debian/tmp/usr/share/doc/$(package)/changelog.Debian
+       gzip -9n debian/tmp/usr/share/doc/$(package)/changelog.Debian
        dpkg-shlibdeps ./ratfor                                                
        dpkg-gencontrol -isp
        dh_md5sums --tmpdir=debian/tmp
_______________________________________________
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