[Pkg-xen-devel] Comments regarding xen-api_1.3-14_amd64.changes

Piotr Ożarowski piotr at debian.org
Sun Jan 8 16:35:25 UTC 2012


[Thomas Goirand, 2012-01-08]
> override_dh_python2:
> 	dh_python2
> 	dh_python2 --skip-private /usr/lib/xcp


override_dh_python2:
 	dh_python2
 	dh_python2 /usr/lib/xcp

is the way to go (assuming "xcp" is *not* binary package name, otherwise
extra call is not needed at all). dh_python2 is checking some private
directories by default (see manpage for details) - if you want to use
different options for these directories (f.e. if public modules support
Python >= 2.4 and private ones Python >= 2.6), use --skip-private like
this:

override_dh_python2:
 	dh_python2 --skip-private
 	dh_python2 /usr/lib/xcp

(assuming "xcp" is binary package name)
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645



More information about the Pkg-xen-devel mailing list