From: Alexander Kanavin <[email protected]>

- 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 <[email protected]>
---
 meta/recipes-support/libfyaml/libfyaml_0.9.6.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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 \
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#245773): 
https://lists.openembedded.org/g/openembedded-core/message/245773
Mute This Topic: https://lists.openembedded.org/mt/121241160/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to