[oe][meta-oe][PATCH 12/25] tinymembench: add UPSTREAM_CHECK_COMMITS

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

Upstream bumped PV without corresponding tag and SRCREV is tip of master.
Hence UPSTREAM_CHECK_COMMITS is more appropriate.

Fixes:
$ devtool latest-version tinymembench
...
INFO: Current version: 0.4.9
INFO: Latest version: 0.4
INFO: Latest version's commit: e7d7573400275d14a9ffc5266d220eeeebe3d916

[1] https://github.com/ssvb/tinymembench/commit/a9907a52a732846cd401b25bb357ec6d0e4d039a

Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb b/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb
index e80433d602..f0527a7ca3 100644
--- a/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb
+++ b/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb
@@ -9,9 +9,7 @@ LIC_FILES_CHKSUM = "file://main.c;endline=22;md5=879b9bbb60851454885b5fa47eb6b34
 PV = "0.4.9+git"
 
 SRCREV = "a2cf6d7e382e3aea1eb39173174d9fa28cad15f3"
-# Upstream tags are "vX.Y" (newest v0.4); PV 0.4.9+git is ahead of the last tag.
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
-UPSTREAM_VERSION_UNKNOWN = "1"
+UPSTREAM_CHECK_COMMITS = "1"
 SRC_URI = "git://github.com/ssvb/tinymembench.git;branch=master;protocol=https \
            file://0001-asm-Delete-.func-.endfunc-directives.patch \
            "
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.