]> git.proxmox.com Git - libarchive-perl.git/commitdiff
buildsys: use full DEB_VERSION and correct DEB_HOST_ARCH
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Jun 2023 13:14:28 +0000 (15:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Jun 2023 13:14:59 +0000 (15:14 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index a5dc9e37dc74c9e6c942a6eca90ed494310c67ba..66e94a8a151ebc0812bd49dfdfb09604608a9fe5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-include /usr/share/dpkg/pkg-info.mk
+include /usr/share/dpkg/default.mk
 
 PACKAGE=libarchive-perl
 
@@ -8,12 +8,11 @@ PACKAGE=libarchive-perl
 
 PPSRC = LibArchive
 
-ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-
 BUILDSRC=$(PACKAGE)-$(DEB_VERSION_UPSTREAM)
-DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(ARCH).deb
 DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
 
+DEB=$(PACKAGE)_$(DEB_VERSION)_$(DEB_HOST_ARCH).deb
+
 all: $(DEB)
 
 .PHONY: update-bindings