Skip to contentSkip to conversation

gst-examples: correct upstream version check

PATCH New Alexander Kanavin 1 participant 1 message Jun 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gst-examples: correct upstream version check

From: Alexander Kanavin <[email protected]>

If start-of-line is not enforced, then bogus tag 'gstreamer-sharp-1.13.0.1' would match as 13.0.1.

---
 meta/recipes-multimedia/gstreamer/gst-examples_1.26.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gst-examples_1.26.2.bb +1 -1
index bc043f81c79..8974b9ac0ba 100644
@@ -18,7 +18,7 @@ S = "${WORKDIR}/git/subprojects/gst-examples"
 
 inherit meson pkgconfig features_check
 
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
Signature · 1 line
2.39.5