[virt-tools-list] [PATCH virt-viewer] msi: move up micro version in x.x.build productversion
Marc-André Lureau
marcandre.lureau at gmail.com
Fri Jun 6 16:26:27 UTC 2014
This allows 12 bits to form a buildid, ex in RHEVM builds:
--with-buildid=$(release << 4 + zrelease)
https://bugzilla.redhat.com/show_bug.cgi?id=1105650
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index f966688..067c918 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,7 +225,9 @@ buildid=`echo $with_buildid | cut -d. -f1`
if test "x$buildid" = x; then
buildid=0
fi
-build=`expr $micro \* 256 + $buildid`
+# In RHEV builds
+# build = $micro << 12 + (%release[0] << 4 + %release[1])
+build=`expr $micro \* 4096 + $buildid`
WINDOWS_PRODUCTVERSION="$major.$minor.$build"
AC_SUBST([WINDOWS_PRODUCTVERSION])
--
1.9.3
More information about the virt-tools-list
mailing list