Source: softcatala-spell
Version: 0.20111230b-7
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 softcatala-spell could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, softcatala-spell 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 softcatala-spell.orig/softcatala-spell-0.20111230b/debian/rules 
softcatala-spell/softcatala-spell-0.20111230b/debian/rules
--- softcatala-spell.orig/softcatala-spell-0.20111230b/debian/rules     
2015-02-03 16:39:53.415890812 +0000
+++ softcatala-spell/softcatala-spell-0.20111230b/debian/rules  2015-02-03 
16:42:21.670361628 +0000
@@ -20,7 +20,7 @@
 
 #       -- icatalan ispell dictionary
        install -m 644 catalan-i.aff $(TMP_BUILD)/catala.aff
-       gzip --best -c catalan-i.dic > $(TMP_BUILD)/catala.mwl.gz
+       gzip --best -cn catalan-i.dic > $(TMP_BUILD)/catala.mwl.gz
 
 #       -- wcatalan wordlist.
 #       catalan.hash is needed first for wcatalan expansion.
@@ -44,11 +44,11 @@
 
        LANG=C sort $(TMP_BUILD)/ca_ES.dic | \
                grep -v -e ^[a-zA-Z]*[0-9] -e '\.' | \
-               prezip -s -c | gzip --best -c > $(TMP_BUILD)/ca-common.cwl.gz
+               prezip -s -c | gzip --best -cn > $(TMP_BUILD)/ca-common.cwl.gz
 
        LANG=C sort catalan-valencian-extra-a.dic | \
                grep -v -e ^[a-zA-Z]*[0-9] -e '\.' | \
-               prezip -s -c | gzip --best -c > 
$(TMP_BUILD)/ca-valencia-mes.cwl.gz
+               prezip -s -c | gzip --best -cn > 
$(TMP_BUILD)/ca-valencia-mes.cwl.gz
 
 #      Catalan common
        echo "add ca-common.rws"    > $(TMP_BUILD)/ca-general.multi

Reply via email to