debian: Make python-openvswitch packaging work with squeeze dh_python2.
authorBen Pfaff <blp@nicira.com>
Mon, 3 Oct 2011 16:19:29 +0000 (09:19 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 3 Oct 2011 16:21:03 +0000 (09:21 -0700)
commitb7fc845f69bbff05bc65a01a8f723056528c3660
treeba5a5dc1782622616c5c4dc0a6682d1c4a91457e
parent8eb5896229f4ec5523ccd549f7b3089d0ae1af96
debian: Make python-openvswitch packaging work with squeeze dh_python2.

The dh_python2 helper in Debian squeeze has a limitation that is not
mentioned anywhere, as far as I can tell: Python files must be in
/usr/lib/python#.#/site-packages to be installed.  The version in Debian
wheezy does not have the same limitation.

This meant that building the Debian packages on squeeze silently produced
a broken python-openvswitch package, whereas building the same thing on
wheezy built a working package.

This fixes the problem by putting the .py files where squeeze expects them.
It works on wheezy too.

Bug #7510.
Reported-by: Michael Hu <mhu@nicira.com>
Tested-by: Simon Horman <horms@verge.net.au>
AUTHORS
debian/python-openvswitch.install