lmsensors: add UPSTREAM_CHECK_GITTAGREGEX

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version lmsensors
INFO: Current version: 3.6.0
INFO: Latest version: 3
INFO: Latest version's commit: 1667b850a1ce38151dae17156276f981be6fb557

After the patch:
$ devtool latest-version lmsensors
INFO: Current version: 3.6.0
INFO: Latest version: 3-6-0
INFO: Latest version's commit: 1667b850a1ce38151dae17156276f981be6fb557

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2025-11-12 21:43:58 +08:00 committed by Khem Raj
parent b1721daf90
commit 3d6b322be0
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -18,6 +18,8 @@ SRC_URI = "git://github.com/lm-sensors/lm-sensors.git;protocol=https;branch=mast
"
SRCREV = "1667b850a1ce38151dae17156276f981be6fb557"
UPSTREAM_CHECK_GITTAGREGEX = "V(?P<pver>\d+(-\d+)+)"
inherit update-rc.d systemd
RDEPENDS:${PN}-dev = ""