tags 547811 + patch
thanks

Hi!

Please find attached a patch to fix this bug.

HTH, and thanks.

Kumar
diff -Nru --exclude changelog bittorrent-3.4.2/debian/control bittorrent-3.4.2/debian/control
--- bittorrent-3.4.2/debian/control	2009-10-14 14:07:40.000000000 -0500
+++ bittorrent-3.4.2/debian/control	2009-10-14 14:07:40.000000000 -0500
@@ -2,8 +2,8 @@
 Section: net
 Priority: optional
 Maintainer: Michael Janssen <[email protected]>
-Build-Depends: debhelper (>= 5.0.37.2)
-Build-Depends-Indep: python-all-dev (>= 2.3.5-11), python, python-dev, sharutils, python-support (>= 0.3)
+Build-Depends: debhelper (>= 5.0.37.2), python, python-dev
+Build-Depends-Indep: python-all-dev (>= 2.3.5-11), sharutils, python-support (>= 0.6)
 Standards-Version: 3.7.2.0
 
 Package: bittorrent
diff -Nru --exclude changelog bittorrent-3.4.2/debian/rules bittorrent-3.4.2/debian/rules
--- bittorrent-3.4.2/debian/rules	2009-10-14 14:07:40.000000000 -0500
+++ bittorrent-3.4.2/debian/rules	2009-10-14 14:07:40.000000000 -0500
@@ -8,6 +8,8 @@
 PYDEF=$(shell pyversions -d)
 PYVERS=$(shell pyversions -r)
 
+include /usr/share/python/python.mk
+
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
@@ -67,10 +69,10 @@
 	for python in $(PYVERS); do \
 		pydir=$$python \
 		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
-		$$python setup.py install --root=debian/tmp; \
+		$$python setup.py install --root=debian/tmp $(py_setup_install_args); \
 		cp debian/tmp/usr/bin/btmakemetafile.py \
 		   debian/tmp/usr/bin/btcompletedir.py \
-		   debian/tmp/usr/lib/$$pydir/site-packages/BitTorrent; \
+		   debian/tmp/usr/lib/$$pydir/$(call py_sitename_sh, $$python)/BitTorrent; \
 	done
 
 	: # Replace all '#!' calls to python with /usr/bin/python

Reply via email to