[oe-commits] [meta-openembedded] 06/11: jq: fix upstream version check

git at git.openembedded.org git at git.openembedded.org
Thu Mar 5 15:12:11 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit c4fa664720e9eb9b5707f48802a37bcd3fd5be56
Author: Pierre-Jean Texier <pjtexier at koncepto.io>
AuthorDate: Thu Mar 5 13:09:15 2020 +0000

    jq: fix upstream version check
    
    Fixes:
    
    INFO: Skip package jq (status = UNKNOWN_BROKEN, current version = 1.6, next version = N/A)
    
    After this commit:
    
    INFO: Skip package jq (status = MATCH, current version = 1.6, next version = 1.6)
    
    Signed-off-by: Pierre-Jean Texier <pjtexier at koncepto.io>
---
 meta-oe/recipes-devtools/jq/jq_1.6.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/jq/jq_1.6.bb b/meta-oe/recipes-devtools/jq/jq_1.6.bb
index 0086eae..bfaeed5 100644
--- a/meta-oe/recipes-devtools/jq/jq_1.6.bb
+++ b/meta-oe/recipes-devtools/jq/jq_1.6.bb
@@ -8,8 +8,10 @@ SECTION = "utils"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=15d03e360fa7399f76d5a4359fc72cbf"
 
-SRC_URI = "https://github.com/stedolan/${BPN}/releases/download/${BP}/${BP}.tar.gz \
-"
+SRC_URI = "https://github.com/stedolan/${BPN}/releases/download/${BP}/${BP}.tar.gz"
+
+UPSTREAM_CHECK_URI = "https://github.com/stedolan/${BPN}/releases"
+UPSTREAM_CHECK_REGEX = "jq\-(?P<pver>(\d+\.\d+))(?!_\d+).tar.gz"
 
 SRC_URI[md5sum] = "e68fbd6a992e36f1ac48c99bbf825d6b"
 SRC_URI[sha256sum] = "5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list