tags 547824 + patch thanks On Sat, Oct 17, 2009 at 03:55:54PM +0200, Bastian Venthur wrote: > tags 547824 - patch > quit > > Package: hellanzb > > The patch provided causes a FTBFS.
Hi! The least you could do is to provide a snippet from the build log. Anyway, it was because I wrote $(PYDEF) as $(PYVER) by mistake. An updated patch attached. HTH. Kumar -- Kumar Appaiah
diff -Nru --exclude changelog hellanzb-0.13/debian/rules hellanzb-0.13/debian/rules --- hellanzb-0.13/debian/rules 2009-10-17 09:20:55.000000000 -0500 +++ hellanzb-0.13/debian/rules 2009-10-17 09:20:55.000000000 -0500 @@ -12,6 +12,10 @@ # Current python version PYDEF = $(shell pyversions -d) +# Added for Python 2.6 site packages directory change +include /usr/share/python/python.mk +SITEDIR = $(call py_sitename, $(PYDEF)) + build: patch clean: unpatch @@ -29,7 +33,7 @@ dh_clean -k install-python: install-prereq - python setup.py install --prefix=$(DESTDIR)/usr --no-compile + python setup.py install --prefix=$(DESTDIR)/usr --no-compile $(py_setup_install_args) install-finish: install-python # Remove docs and conf installed by setup.py @@ -37,7 +41,7 @@ # Remove .py mv $(DESTDIR)/usr/bin/hellanzb.py $(DESTDIR)/usr/bin/hellanzb # Remove interpreter in python modules - sed -i -e '0,/^.*$$/s///' $(DESTDIR)/usr/lib/$(PYDEF)/site-packages/Hellanzb/Growl.py + sed -i -e '0,/^.*$$/s///' $(DESTDIR)/usr/lib/$(PYDEF)/$(SITEDIR)/Hellanzb/Growl.py # Install conf file install -D -m 644 etc/hellanzb.conf.sample $(DESTDIR)/etc/hellanzb.conf