Source: jpy
Version: 0.8-4
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-builds@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
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- 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' {} \;
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to