From: Thomas Lamprecht Date: Tue, 2 Jul 2019 11:32:06 +0000 (+0200) Subject: fix qemu PKGVERSION X-Git-Url: https://git.proxmox.com/?p=pve-qemu.git;a=commitdiff_plain;h=1024d89400c8eae79c98c147de0b66888b284f2d fix qemu PKGVERSION Signed-off-by: Thomas Lamprecht --- diff --git a/Makefile b/Makefile index 570fdb9..497c6f3 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,6 @@ $(BUILDDIR): keycodemapdb | submodule rm -rf $(BUILDDIR)/ui/keycodemapdb cp -a keycodemapdb $(BUILDDIR)/ui/ echo "git clone git://git.proxmox.com/git/pve-qemu.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE - # set package version - sed -i 's/^pkgversion="".*/pkgversion="${PACKAGE}_${KVMVER}-${KVMPKGREL}"/' $(BUILDDIR)/configure .PHONY: deb kvm deb kvm: $(DEBS) diff --git a/debian/rules b/debian/rules index 30868b0..4f6987e 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,7 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/dpkg/pkg-info.mk # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) @@ -40,6 +41,7 @@ config.status: configure --sysconfdir=/etc \ --target-list=$(ARCH)-softmmu,aarch64-softmmu \ --with-confsuffix="/kvm" \ + --with-pkgversion="${DEB_SOURCE}_${DEB_VERSION_UPSTREAM}" \ --audio-drv-list="alsa" \ --datadir=/usr/share \ --disable-capstone \