From 2b259b70ec5271bb919ae08ebd18744ecf42bb37 Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Fri, 30 Sep 2022 14:18:31 +0200 Subject: [PATCH] d/rules: add revision to package version This version string can be queried with $BINARY --version as well as the query-version QMP command. Useful for qemu-server to be able to report the running QEMU version exactly. Could also be used to version guard against features as an alternative to the query-proxmox-support QMP command. Signed-off-by: Fiona Ebner --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 6192fe7..0226c43 100755 --- a/debian/rules +++ b/debian/rules @@ -48,7 +48,7 @@ ${BUILDDIR}/config.status: configure --sysconfdir=/etc \ --target-list=$(ARCH)-softmmu,aarch64-softmmu \ --with-suffix="kvm" \ - --with-pkgversion="${DEB_SOURCE}_${DEB_VERSION_UPSTREAM}" \ + --with-pkgversion="${DEB_SOURCE}_${DEB_VERSION_UPSTREAM_REVISION}" \ --audio-drv-list="alsa" \ --datadir=/usr/share \ --libexecdir=/usr/lib/kvm \