Source: lpe
Version: 1.2.7-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 lpe could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, lpe 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 lpe.orig/lpe-1.2.7/debian/rules lpe/lpe-1.2.7/debian/rules
--- lpe.orig/lpe-1.2.7/debian/rules     2015-02-12 02:53:51.891103929 +0000
+++ lpe/lpe-1.2.7/debian/rules  2015-02-12 02:55:49.251308432 +0000
@@ -73,8 +73,8 @@
        strip --remove-section=.comment --remove-section=.note $(find-binaries)
 endif
 # compress stuff
-       find ${PKGDIR}/usr/share/man/ -type f | xargs gzip -9f
-       gzip -9f ${PKGDIR}/usr/share/doc/${PACKAGE}/changelog \
+       find ${PKGDIR}/usr/share/man/ -type f | xargs gzip -9nf
+       gzip -9nf ${PKGDIR}/usr/share/doc/${PACKAGE}/changelog \
                 ${PKGDIR}/usr/share/doc/${PACKAGE}/changelog.Debian \
                 ${PKGDIR}/usr/share/doc/${PACKAGE}/BUGS \
                 ${PKGDIR}/usr/share/doc/${PACKAGE}/CUSTOMIZE \

Reply via email to