v2ray-geodata: make PKG_RELEASE numeric again
According to the documentation[1] 'PKG_RELEASE' should be a number,
so polulate the APK-style 'r' via 'VERSION' instead.
1. https://openwrt.org/docs/guide-developer/packages#buildpackage_variables
Fixes: 30796c5948
("v2ray-geodata: use APK compatible version schema")
Reported-by: Sean Khan <datapronix@protonmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
6a400cce62
commit
7d66f1bac8
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=v2ray-geodata
|
||||
PKG_RELEASE:=r1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
||||
|
@ -51,7 +51,7 @@ define Package/v2ray-geoip
|
|||
$(call Package/v2ray-geodata/template)
|
||||
TITLE:=GeoIP List for V2Ray
|
||||
PROVIDES:=v2ray-geodata xray-geodata xray-geoip
|
||||
VERSION:=$(GEOIP_VER)-$(PKG_RELEASE)
|
||||
VERSION:=$(GEOIP_VER)-r$(PKG_RELEASE)
|
||||
LICENSE:=CC-BY-SA-4.0
|
||||
endef
|
||||
|
||||
|
@ -59,7 +59,7 @@ define Package/v2ray-geosite
|
|||
$(call Package/v2ray-geodata/template)
|
||||
TITLE:=Geosite List for V2Ray
|
||||
PROVIDES:=v2ray-geodata xray-geodata xray-geosite
|
||||
VERSION:=$(GEOSITE_VER)-$(PKG_RELEASE)
|
||||
VERSION:=$(GEOSITE_VER)-r$(PKG_RELEASE)
|
||||
LICENSE:=MIT
|
||||
endef
|
||||
|
||||
|
@ -67,7 +67,7 @@ define Package/v2ray-geosite-ir
|
|||
$(call Package/v2ray-geodata/template)
|
||||
TITLE:=Iran Geosite List for V2Ray
|
||||
PROVIDES:=xray-geosite-ir
|
||||
VERSION:=$(GEOSITE_IRAN_VER)-$(PKG_RELEASE)
|
||||
VERSION:=$(GEOSITE_IRAN_VER)-r$(PKG_RELEASE)
|
||||
LICENSE:=MIT
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue