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:56:43 +0000 (10:56 -0700)
commit4e84c5c406c82886589f8d9925a6ebbc2386caa3
treefe2d568bf8035543de1418cd5de5c92873dec854
parentbfb5a3c075902974a5574cc1050cfd0626237475
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