debootstrap: Make version apk compatible master
authorHannu Nyman <hannu.nyman@iki.fi>
Fri, 22 Nov 2024 20:02:42 +0000 (22:02 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 22 Nov 2024 22:11:06 +0000 (22:11 +0000)
Adjust version to match apk semantic rules.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
admin/debootstrap/Makefile

index d871ef796bb4526abc19f48ddb61df535b0dcd1a..8bd3b47edad4a3fde638decfc902228298ac890c 100644 (file)
@@ -9,10 +9,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=debootstrap
-PKG_VERSION:=1.0.128+nmu2+deb12u1
-PKG_RELEASE:=1
+PKG_REAL_VERSION:=1.0.128+nmu2+deb12u1
+PKG_VERSION:=1.0.128.2~deb121
+PKG_RELEASE:=2
 
-PKG_SOURCE:=$(PKG_NAME)-udeb_$(PKG_VERSION)_all.udeb
+PKG_SOURCE:=$(PKG_NAME)-udeb_$(PKG_REAL_VERSION)_all.udeb
 PKG_SOURCE_URL:=@DEBIAN/pool/main/d/debootstrap
 PKG_HASH:=4fa4ec7c144ed047c47d0d8eb9b91b56eaa9b2db2b52510777abbabf5965d268
 
@@ -20,6 +21,8 @@ PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 PKG_LICENSE:=Unique
 PKG_LICENSE_FILES:=debian/copyright
 
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REAL_VERSION)
+
 UNPACK_CMD=ar -p "$(DL_DIR)/$(PKG_SOURCE)" data.tar.xz | xzcat | tar -C $(1) -xf -
 
 include $(INCLUDE_DIR)/package.mk