tags 547859 + patch
thanks

Hi!

Please find attached a patch to fix this bug.

HTH, and thanks.

Kumar
diff -Nru --exclude changelog synce-kpm-0.13/debian/rules synce-kpm-0.13/debian/rules
--- synce-kpm-0.13/debian/rules	2009-10-14 21:52:12.000000000 -0500
+++ synce-kpm-0.13/debian/rules	2009-10-14 21:52:12.000000000 -0500
@@ -4,6 +4,9 @@
 
 include /usr/share/quilt/quilt.make
 include $(CURDIR)/debian/update-patches.mk
+include /usr/share/python/python.mk
+
+SITEDIR = $(call py_sitename, $(PYVER))
 
 clean: unpatch
 	dh_testdir
@@ -28,9 +31,9 @@
 	python setup.py install \
 		--root=$(CURDIR)/debian/synce-kpm \
 		--single-version-externally-managed \
-	
+		$(py_setup_install_args)
 	mkdir -p $(CURDIR)/debian/synce-kpm/usr/share/synceKPM
-	mv $(CURDIR)/debian/synce-kpm/usr/lib/python$(PYVER)/site-packages/synceKPM/data \
+	mv $(CURDIR)/debian/synce-kpm/usr/lib/python$(PYVER)/$(SITEDIR)/synceKPM/data \
 		$(CURDIR)/debian/synce-kpm/usr/share/synceKPM
 
 binary-indep: build install

Reply via email to