buildsys: adapt extracting release to native versioning

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-29 18:15:11 +02:00
parent b90691f4ac
commit ff7fd641ac

View File

@ -2,8 +2,8 @@ include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/architecture.mk
include defines.mk
export PVERELEASE=$(DEB_VERSION_UPSTREAM)
export VERSION=$(DEB_VERSION_UPSTREAM_REVISION)
export PVERELEASE = $(shell echo $(DEB_VERSION_UPSTREAM) | cut -c 1-3)
export VERSION = $(DEB_VERSION_UPSTREAM_REVISION)
DESTDIR=