tags 547822 + patch
thanks

Hi!

Please find attached a patch to fix this bug. The package seems to
work with both Python 2.5 and 2.6.

HTH, and thanks.

Kumar
diff -Nru --exclude changelog fnorb-1.3/debian/fnorb.dirs fnorb-1.3/debian/fnorb.dirs
--- fnorb-1.3/debian/fnorb.dirs	2009-10-11 21:03:34.000000000 -0500
+++ fnorb-1.3/debian/fnorb.dirs	1969-12-31 18:00:00.000000000 -0600
@@ -1,2 +0,0 @@
-usr/bin
-usr/lib/python2.3/site-packages
diff -Nru --exclude changelog fnorb-1.3/debian/rules fnorb-1.3/debian/rules
--- fnorb-1.3/debian/rules	2009-10-11 21:03:34.000000000 -0500
+++ fnorb-1.3/debian/rules	2009-10-11 21:03:35.000000000 -0500
@@ -8,8 +8,6 @@
 # This is the debhelper compatibility version to use.
 export DH_COMPAT=4
 PYTHONVER=python$(shell python -c 'import sys; print "%d.%d"%sys.version_info[0:2]')
-SITE_PACK=/usr/lib/$(PYTHONVER)/site-packages
-MODULE_DIR=$(SITE_PACK)/Fnorb
 DOC=debian/tmp/share/doc/Fnorb
 CFLAGS += -g
 
@@ -47,7 +45,7 @@
 	dh_clean -k
 	dh_installdirs
 
-	python setup.py install --no-compile --prefix `pwd`/debian/tmp
+	python setup.py install --no-compile --prefix `pwd`/debian/tmp --install-layout=deb
 	for i in $$(find $(DOC) -name "*.py"); \
 	do \
 		chmod +x $$i; \

Reply via email to