diff mbox series

[meta-oe,53/69] libutempter: Fix upstream version check

Message ID 20261127003425.2166632-54-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream version check fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 12:34 a.m. UTC
Upstream tags are <version>-altN like PV, but the default regex dropped
the -altN part, so 1.2.3 compared older than PV 1.2.3-alt1. Capture the
whole tag.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-support/libutempter/libutempter_1.2.3-alt1.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/libutempter/libutempter_1.2.3-alt1.bb b/meta-oe/recipes-support/libutempter/libutempter_1.2.3-alt1.bb
index 6d9746c9ad..e2569db630 100644
--- a/meta-oe/recipes-support/libutempter/libutempter_1.2.3-alt1.bb
+++ b/meta-oe/recipes-support/libutempter/libutempter_1.2.3-alt1.bb
@@ -13,6 +13,7 @@  SRC_URI = "git://git.altlinux.org/people/ldv/packages/libutempter.git;branch=mas
            file://0001-Fix-macro-error.patch \
            file://0002-Proper-macro-path-generation.patch \
            "
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+-alt\d+)$"
 
 S = "${UNPACKDIR}/${BP}/${BPN}"