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:41:36 +0000 (10:41 -0700)
commitae2e74f051f0322d683083c287838cd573351176
tree584ef28304cfaf1744f9bfe54da4ad351410f350
parentffe645e2d95a8cb3d7393e4457345928d3c3c51b
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