]> git.proxmox.com Git - libpve-u2f-server-perl.git/commitdiff
buildsys: use full DEB_VERSION and the correct DEB_HOST_ARCH
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 May 2023 13:45:11 +0000 (15:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 May 2023 14:07:17 +0000 (16:07 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index d9ca69cc71ff8e81aaff0b1f141e5443ffc6a279..9b68e0279cd2ac0ef09ca263ae9f5b4f9fd653f5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ include /usr/share/dpkg/architecture.mk
 
 PACKAGE=libpve-u2f-server-perl
 
-BUILDSRC := $(PACKAGE)-$(DEB_VERSION_EPOCH_UPSTREAM)
+BUILDSRC := $(PACKAGE)-$(DEB_VERSION)
 
 DESTDIR=
 PREFIX=/usr
@@ -22,8 +22,8 @@ CFLAGS := -shared -fPIC -O2 -Werror -Wtype-limits -Wall -Wl,-z,relro \
 CFLAGS += `pkg-config --cflags u2f-server`
 LIBS += `pkg-config --libs u2f-server`
 
-DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb
-DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
+DEB=$(PACKAGE)_$(DEB_VERSION)_$(DEB_HOST_ARCH).deb
+DSC=$(PACKAGE)_$(DEB_VERSION).dsc
 
 GITVERSION:=$(shell git rev-parse HEAD)
 
@@ -78,4 +78,4 @@ distclean: clean
 
 .PHONY: upload
 upload: $(DEB)
-       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(DEB_BUILD_ARCH)
+       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(DEB_HOST_ARCH)