tags 547856 + patch thanks Hi!
Please find attached a patch to fix this bug. HTH, and thanks. Kumar
diff -Nru --exclude changelog smart-notifier-0.28/debian/rules smart-notifier-0.28/debian/rules --- smart-notifier-0.28/debian/rules 2009-10-14 21:47:28.000000000 -0500 +++ smart-notifier-0.28/debian/rules 2009-10-14 21:47:29.000000000 -0500 @@ -9,6 +9,8 @@ DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \ | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) +include /usr/share/python/python.mk + build: $(PYVERS:%=build-python%) touch $@ @@ -43,13 +45,13 @@ debian/smart-notifier/etc/xdg/autostart/smart-notifier.desktop install-python%: - python setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE) + python setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE) $(py_setup_install_args) install -d debian/$(PACKAGE)/usr/share/smart-notifier # Remove python and module version from .egg-info and move it to the privat modules - mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info \ + mv debian/$(PACKAGE)/usr/lib/python$*/$(call py_sitename_sh, $*)/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info \ debian/$(PACKAGE)/usr/share/smart-notifier/$(PYMOD).egg-info # Move the python module to a private location - mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD) \ + mv debian/$(PACKAGE)/usr/lib/python$*/$(call py_sitename_sh, $*)/$(PYMOD) \ debian/$(PACKAGE)/usr/share/smart-notifier/$(PYMOD) # Build architecture-independent files here.