Bug#902270: opgpcard: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Jun 24 08:51:53 BST 2018


Source: opgpcard
Version: 0.1.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that opgpcard could not be built reproducibly.

This is because the documentation used "template_path" in its output,
which varied on the build path. Patch attached that makes fixes this
and makes it more readable for users.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2018-06-24 08:20:23.867648873 +0100
--- b/debian/rules	2018-06-24 08:49:50.601220979 +0100
@@ -6,3 +6,4 @@
 override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=. sphinx-build -N -bhtml docs/source/ build/html # HTML generator
+	find build/html -type f -name '*.html' -print0 | xargs -0r sed -i -e 's@$(CURDIR)/@@g'


More information about the Reproducible-bugs mailing list