[oe][meta-oe][PATCH 14/15] cmocka: update SRC_URI and add UPSTREAM_CHECK_TAGREGEX

[email protected]
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Ankur Tyagi <[email protected]>

Fixes:
$ devtool latest-version cmocka
...
fatal: https://git.cryptomilk.org/projects/cmocka.git/info/refs not valid: could not determine hash algorithm; is this a git repository?

INFO: Current version: 2.0.2
INFO: Latest version:

Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb b/meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb
index 11e8db87d8..26f872a701 100644
--- a/meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb
+++ b/meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb
@@ -7,10 +7,11 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRCREV = "fefa2b8a023121f7235e18ed17249e4012dd144f"
-SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
+SRC_URI = "git://gitlab.com/cmocka/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
            file://run-ptest \
           "
 
+UPSTREAM_CHECK_TAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake ptest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.