[Reproducible-builds] Bug#834897: jpy: please make the build reproducible
Chris Lamb
lamby at debian.org
Sat Aug 20 12:47:02 UTC 2016
Source: jpy
Version: 0.8-4
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], I noticed
that jpy could not be built reproducibly as it embeds the build
path in a .properties file.
Not sure how this file worked before btw (!).
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2016-08-20 13:32:03.443625618 +0100
--- b/debian/rules 2016-08-20 13:45:26.778452476 +0100
@@ -25,3 +25,5 @@
done
dh_auto_install
find . -name '*.so' -exec chrpath -d {} \;
+ # Strip build path; the libs will exist under /usr, not debian/tmp
+ find . -name 'jpyconfig.properties' -exec sed -i -e 's,$(CURDIR)/debian/tmp,,g' {} \;
More information about the Reproducible-builds
mailing list