Source: plr
Version: 1:8.3.0.17-2
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 plr could not be built reproducibly as it encodes the date
in generated HTML.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2017-10-01 09:43:31.433455583 +0100
--- b/debian/rules      2017-10-01 09:52:20.327204302 +0100
@@ -10,6 +10,8 @@
 
 override_dh_installdocs:
        dh_installdocs --all doc/plr-US.pdf doc/html/*.html
+       find debian/*/usr/share/doc/ -type f -name '*.html' -print0 | \
+               xargs -0r sed -i -e 's@CONTENT="[^"]*"@CONTENT=""@g'
 
 override_dh_auto_install:
        +pg_buildext loop postgresql-%v-plr

Reply via email to