tags 502453 + patch
thanks

Hi,

This patch fixes this bug by building ZSI for the default python interpreter first, as scripts/wsdl2py's shebang is changed to #!/usr/bin/pythonX.Y when built with pythonX.Y, and the first built one is copied to ./usr/bin.

Also, it will build it with 'python' instead of 'pythonX.Y' (where X.Y is the default interpreter) so that it doesn't hardcode the shebang at all, and we simply depend on python (>= 2.4).

Cheers
Index: debian/rules
===================================================================
--- debian/rules	(revisión: 6710)
+++ debian/rules	(copia de trabajo)
@@ -4,7 +4,10 @@
 #export DH_VERBOSE=1
 
 PKGNAME:=python-zsi
+
+PYDEFAULTVER:=$(shell pyversions -d)
 PYVERS:=$(shell pyversions -r)
+PYVERS:=python $(filter-out $(PYDEFAULTVER), $(PYVERS))
 
 
 include /usr/share/dpatch/dpatch.make
  • Bug#502453: patch Emilio Pozuelo Monfort

Reply via email to