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 \