Source: p4vasp
Version: 0.3.30+dfsg-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that p4vasp could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2017-12-03 07:29:06.409689521 +0000
--- b/debian/rules 2017-12-03 07:58:18.698995407 +0000
@@ -27,6 +27,8 @@
# Permissions:
find $(DESTDIR)/usr -type f -exec chmod 644 {} \;
chmod 755 $(DESTDIR)/usr/share/p4vasp/data/database
+ # Strip absolute build-path from generated file
+ sed -i -e 's@$(DESTDIR)@@g' $(DESTDIR)/usr/bin/p4v
override_dh_auto_clean:
make cleanall