[oe][meta-oe][PATCH 21/25] libsombok3: add UPSTREAM_CHECK_GITTAGREGEX

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

Also add tag in the SRC_URI

Fixes:
$ devtool latest-version libsombok3
...
INFO: Current version: 2.4.0
INFO: Latest version: 2011.5
INFO: Latest version's commit: f5ba2dc3025e36e01ee2555ab46ad3fbbab28248

Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb b/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb
index 8ce8bc050d..2879165366 100644
--- a/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb
+++ b/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb
@@ -7,7 +7,7 @@ Cluster segmentation described in Annex #29 (UAX #29)."
 LICENSE = "Artistic-1.0 OR GPL-1.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=5b122a36d0f6dc55279a0ebc69f3c60b"
 
-SRC_URI = "git://github.com/hatukanezumi/sombok.git;protocol=https;branch=master \
+SRC_URI = "git://github.com/hatukanezumi/sombok.git;protocol=https;branch=master;tag=sombok-${PV} \
            file://0001-configure.ac-fix-cross-compiling-issue.patch \
           "
 
@@ -16,6 +16,7 @@ inherit autotools-brokensep pkgconfig
 # sombok-2.4.0
 SRCREV = "0098d85a037ef5c99a648a3669a077781a45e8cc"
 
+UPSTREAM_CHECK_GITTAGREGEX = "sombok-(?P<pver>2(\.\d+)+)"
 
 # Disable libthai support
 EXTRA_OECONF = "--disable-libthai"
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.