Package: ncap
Version: 1.9.1-1
Severity: important
Tags: patch
User: debian-pyt...@lists.debian.org
Usertags: python2.6 usr-local ftbfs
Hello,
Starting from Python 2.6, the installation paths for distutils have
changed. /usr/local is now used by default.
Because your package uses dh_usrlocal, when rebuilt against
python-all{,-dev,-dbg} (and thus python2.6), your package FTBFS.
The attached patch fixes this problem. However, please consider also
switching from python-central to python-support:
http://wiki.debian.org/DebianPython/central2support
--
Jakub Wilk
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,7 @@
#!/usr/bin/make -f
+
+-include /usr/share/python/python.mk
+
#export DH_VERBOSE=1
%:
dh $@
@@ -12,6 +15,6 @@
override_dh_auto_install:
dh_auto_install
- cd pyncap && for python in $(shell pyversions -r); do $$python setup.py install --root=../debian/python-ncap; done
+ cd pyncap && for python in $(shell pyversions -r); do $$python setup.py install $(py_setup_install_args) --root=../debian/python-ncap; done
binary: binary-arch binary-indep