tags 547867 + patch
thanks

Hi!

Please find attached a patch to fix this bug.

HTH, and thanks!

Kumar
diff -Nru --exclude changelog synce-sync-engine-0.13/debian/rules synce-sync-engine-0.13/debian/rules
--- synce-sync-engine-0.13/debian/rules	2009-10-14 22:00:59.000000000 -0500
+++ synce-sync-engine-0.13/debian/rules	2009-10-14 22:00:59.000000000 -0500
@@ -5,6 +5,10 @@
 
 PYVER=$(shell python -c 'import sys; print sys.version[:3]')
 
+include /usr/share/python/python.mk
+
+SITEDIR = $(call py_sitename, $(PYVER))
+
 clean: unpatch
 	dh_testdir
 	dh_testroot
@@ -29,9 +33,9 @@
 	python setup.py install \
 		--root=$(CURDIR)/debian/tmp \
 		--single-version-externally-managed \
-	
+		$(py_setup_install_args)
 	rm $(CURDIR)/debian/tmp/usr/bin/synce-install-plugins.py
-	rm -rf $(CURDIR)/debian/tmp/usr/lib/python$(PYVER)/site-packages/plugins
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/python$(PYVER)/$(SITEDIR)/plugins
 	for file in $(CURDIR)/debian/tmp/usr/bin/*; do \
 		mv $$file \
 		$(CURDIR)/debian/tmp/usr/bin/synce-`basename $$file | sed -e 's/.py$$//' -e 's/_/-/'`; \
diff -Nru --exclude changelog synce-sync-engine-0.13/debian/synce-sync-engine.install synce-sync-engine-0.13/debian/synce-sync-engine.install
--- synce-sync-engine-0.13/debian/synce-sync-engine.install	2009-10-14 22:00:59.000000000 -0500
+++ synce-sync-engine-0.13/debian/synce-sync-engine.install	2009-10-14 22:00:59.000000000 -0500
@@ -1,4 +1,4 @@
-debian/tmp/usr/lib/python*/site-packages
+debian/tmp/usr/lib/python*/*-packages
 debian/tmp/usr/bin
 debian/tmp/usr/share/synce-sync-engine
 debian/tmp/usr/share/dbus-1

Reply via email to