setver.sh: introduce build id

If we build a package for the second time without doing any git commits,
add a build id of .1 as a suffix to RPM release fields. Remove the suffix
once git release has changed.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed