tags 547819 + patch thanks Hi!
Please find attached a(n untested) patch to fix this bug. Thanks. Kumar
diff -Nru --exclude changelog foomatic-gui-0.7.9.2+nmu1/debian/python-foomatic.install foomatic-gui-0.7.9.2+nmu2/debian/python-foomatic.install --- foomatic-gui-0.7.9.2+nmu1/debian/python-foomatic.install 2006-06-21 02:23:57.000000000 -0500 +++ foomatic-gui-0.7.9.2+nmu2/debian/python-foomatic.install 2009-10-13 22:27:46.000000000 -0500 @@ -1 +1 @@ -usr/lib/python*/site-packages/foomatic/* +usr/lib/python*/*-packages/foomatic/* diff -Nru --exclude changelog foomatic-gui-0.7.9.2+nmu1/debian/rules foomatic-gui-0.7.9.2+nmu2/debian/rules --- foomatic-gui-0.7.9.2+nmu1/debian/rules 2009-09-19 02:43:03.000000000 -0500 +++ foomatic-gui-0.7.9.2+nmu2/debian/rules 2009-10-13 22:28:48.000000000 -0500 @@ -33,7 +33,7 @@ # Add here commands to compile the package. make translate (set -e; for v in $(PYVERS); do $$v setup.py build; done) - python2.4 setup.py build_scripts --executable=/usr/bin/python --force + python setup.py build_scripts --executable=/usr/bin/python --force #/usr/bin/docbook-to-man debian/foomatic-gui.sgml > foomatic-gui.1 touch build-stamp @@ -59,8 +59,8 @@ dh_installdirs # Add here commands to install the package into debian/tmp - (set -e; for v in $(PYVERS); do $$v setup.py install --prefix=$(CURDIR)/debian/tmp/usr --no-compile; done) - python2.4 setup.py install_scripts --force --install-dir=$(CURDIR)/debian/tmp/usr/bin + (set -e; for v in $(PYVERS); do $$v setup.py install --prefix=$(CURDIR)/debian/tmp/usr --no-compile --install-layout=deb; done) + python setup.py install_scripts --force --install-dir=$(CURDIR)/debian/tmp/usr/bin # Build architecture-dependent files here. binary-arch: build install