Source: pdb2pqr
Version: 1.9.0+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: hostname username
X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that pdb2pqr doesn't build reproducibly.
It embeds the hostname and a path inside the user's home directory
into a file.

The attached patch sets those values to reproducible ones.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds

diff --git a/debian/rules b/debian/rules
index 5ad7cf8..23ec987 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,9 @@ override_dh_auto_clean:
 
 override_dh_auto_configure:
 	dh_auto_configure
-	python scons/scons.py
+	python scons/scons.py \
+		URL="http://localhost/pdb2pqr/"; \
+		PREFIX="/usr/share/pdb2pqr"
 	( cd pdb2pka && \
 	  cp -a pMC_mult_wrap.cpp pMC_mult_wrap.cpp.saved && \
 	  cp -a pMC_mult.py pMC_mult.py.saved && \

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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