debian: Avoid unit test failure when doing "unofficial" builds.
authorBen Pfaff <blp@nicira.com>
Fri, 9 Mar 2012 22:20:54 +0000 (14:20 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 19 Mar 2012 17:25:22 +0000 (10:25 -0700)
commit4fe0f600d7f283afab68f4c32800fab89e86aaef
treedf558c5333115584d5b25acf3f2bc06f1cff3fc7
parentaf6641239aacdc277c4a6f6209c3bbc8e32cabd9
debian: Avoid unit test failure when doing "unofficial" builds.

The configure option --with-build-number=0 is interpreted differently in
different places.  The configure script itself accepts 0 as an actual
build number and puts '#define BUILDNR "+build0"' into config.h.  The
code in python/automake.mk treats 0 as "no build number" and puts
'BUILDNR = ""' into version.py.

This commit avoids the problem by not passing 0 as a build number.

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
debian/rules