2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-02 15:25:22 +00:00

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>
This commit is contained in:
Ben Pfaff
2011-10-03 09:19:29 -07:00
parent f686a33af8
commit bc3aa0bf5a
2 changed files with 3 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
python/ovs/*.py usr/share/pyshared/ovs/
python/ovs/db/*.py usr/share/pyshared/ovs/db/
python/ovs/*.py usr/lib/python2.4/site-packages/ovs/
python/ovs/db/*.py usr/lib/python2.4/site-packages/ovs/db/