From: Ruediger Meier Date: Thu, 17 Nov 2016 02:09:59 +0000 (+0100) Subject: build-sys: update package release number during development X-Git-Tag: v2.30-rc1~401 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5511797f2421d8600ed3761b964a1ab7f7629cc;p=thirdparty%2Futil-linux.git build-sys: update package release number during development Now we use v2.29-5-g8ffab30 -> 2.29.5-8ffa (libblkid 2.29.5) instead of v2.29-5-g8ffab30 -> 2.29.5-8ffa (libblkid 2.29.0) otherwise the bugfix releases (2.29.1) would look newer that latest HEAD. Signed-off-by: Ruediger Meier --- diff --git a/configure.ac b/configure.ac index 8391c00c7b..eb479cbaca 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ PACKAGE_VERSION_MAJOR=$(echo $PACKAGE_VERSION | awk -F. '{print $1}') PACKAGE_VERSION_MINOR=$(echo $PACKAGE_VERSION | awk -F. '{print $2}' \ | awk -F- '{print $1}') PACKAGE_VERSION_RELEASE=$(echo $PACKAGE_VERSION | awk -F. '{ - print $3 ~ /^@<:@[0-9]@:>@+$/ ? $3 : 0}') + sub("-.*","",$3); print $3 ~ /^@<:@[0-9]@:>@+$/ ? $3 : 0}') dnl libblkid version LIBBLKID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE"