Source: libcorelinux Version: 0.4.32-9 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that libcorelinux could not be built reproducibly. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/002-reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/002-reproducible-build.patch 2016-12-20 10:39:38.349443780 +0000 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2016-12-20 + +--- libcorelinux-0.4.32.orig/corelinux.spec.in ++++ libcorelinux-0.4.32/corelinux.spec.in +@@ -101,7 +101,7 @@ make -j 2 + (mkdir -p examples) + (find src/testdrivers -name "*.[ch]*[pp]*" | xargs -ifilename cp filename examples) + (perl debian/genmake.pl examples) +-(for i in examples/*; do gzip $i; done) ++(for i in examples/*; do gzip -n $i; done) + + %install + --- a/debian/patches/series 2016-12-20 10:34:23.897952766 +0000 --- b/debian/patches/series 2016-12-20 10:39:35.497412198 +0000 @@ -1 +1,2 @@ 001-debian-changes.patch +002-reproducible-build.patch