diff mbox series

[4/4] libfyaml: correct upstream version check

Message ID 20260914120925.1153614-4-alex.kanavin@gmail.com
State New
Headers show
Series [1/4] gstreamer1.0-plugins-rs: fix upstream tag check | expand

Commit Message

Alexander Kanavin Sept. 14, 2026, 12:09 p.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

- GITHUB_BASE_URI should include 'releases' component of the uri
- the regex should exclude various alphas, betas and pre-releases:
https://github.com/pantoniou/libfyaml/releases

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-support/libfyaml/libfyaml_0.9.6.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-support/libfyaml/libfyaml_0.9.6.bb b/meta/recipes-support/libfyaml/libfyaml_0.9.6.bb
index 1a98b396b0f..4c3fe42891f 100644
--- a/meta/recipes-support/libfyaml/libfyaml_0.9.6.bb
+++ b/meta/recipes-support/libfyaml/libfyaml_0.9.6.bb
@@ -3,8 +3,9 @@  HOMEPAGE = "https://github.com/pantoniou/libfyaml"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6399094fbc639a289cfca2d660c010aa"
 
-GITHUB_BASE_URI = "https://github.com/pantoniou/libfyaml"
-SRC_URI = "${GITHUB_BASE_URI}/releases/download/v${PV}/libfyaml-${PV}.tar.gz \
+GITHUB_BASE_URI = "https://github.com/pantoniou/libfyaml/releases"
+UPSTREAM_CHECK_REGEX ?= "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libfyaml-${PV}.tar.gz \
            file://0001-Fix-32-bit-build-by-removing-stray-parameter-to-fy_s.patch \
            file://0002-vlsize-Handle-decoding-when-size_t-sizeof-uint64_t.patch \
            file://0001-build-don-t-output-none-required-to-LIBM-if-no-linke.patch \