diff mbox series

[meta-oe,47/69] spdm-emu: Fix upstream version check

Message ID 20261127003425.2166632-48-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
The recipe builds untagged commits from main with PV "git", so the
tag-based check had nothing to compare and was marked unknown. Track new
commits on the main branch instead.

This replaces the upstream check settings from commit 787d1b73e2
("meta-oe: repair broken recipe upstream version-checks").

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb b/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb
index 33c02dae72..ecb834a1cf 100644
--- a/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb
+++ b/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb
@@ -11,11 +11,7 @@  SRC_URI = "gitsm://github.com/DMTF/spdm-emu;protocol=https;branch=main \
            "
 
 SRCREV = "ea77f25410cc01098320c0b44b3e150192ec4d5e"
-# Upstream release tags are "X.Y.Z" (newest 3.8.0).
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
-# PV is "git" (AUTOINC recipe with no numeric PV), so the resolved tag (3.8.0)
-# has nothing to compare against; reported unknown rather than broken.
-UPSTREAM_VERSION_UNKNOWN = "1"
+UPSTREAM_CHECK_COMMITS = "1"
 inherit cmake pkgconfig systemd
 
 # Use mbedtls until openssl build is fixed.