debian: Package the installed Python files, not those from the source tree.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Oct 2011 21:55:02 +0000 (14:55 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 5 Oct 2011 22:01:48 +0000 (15:01 -0700)
commit12a7df90927ff34bb87a0ba2dc08496d367480e6
treea07381f36cf781115c23b7e963017a53fa64b648
parenta8d9304d121f56af0e6f02677342933579be3277
debian: Package the installed Python files, not those from the source tree.

The only difference between the Python files that are installed and the
Python files found in the source tree is in the ovs.dirs module, but this
is a very important difference: we want the directories used to be the ones
configured in (e.g. /usr/share/openvswitch), not the only used by default
by the source tree's dirs.py (e.g. /usr/local/share/openvswitch).

I verified with "dpkg-deb -x" and "diff -ur" that in fact this is the only
change that this commit makes.

This bug has been in place since at least commit 1d273d6d8 "debian: Rename
openvswitch-python to python-openvswitch" from over a year ago, but until
now the packaged Python files didn't actually use any directories that
differed between the two versions of dirs.py, so only now has the problem
manifested.

This problem prevented ovs-monitor-ipsec from finding the OVSDB schema
file.

Reported-by: Ethan Jackson <ethan@nicira.com>
debian/python-openvswitch.install