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, 12 Mar 2012 17:13:36 +0000 (10:13 -0700)
commit1968ff0eba648e02b611a47c4196446c1b63069e
treeb20e8c2eb0c7ccb668546cd8041f9a70bea1011f
parentae490a5642978cd52b698583c62c3e7a52f6a92f
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