[oe][meta-oe][PATCH 13/25] unixbench: set PV in recipe name and update SRC_URI

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

- SRCREV is unchanged
- Add UPSTREAM_CHECK_GITTAGREGEX

Signed-off-by: Ankur Tyagi <[email protected]>
---
 .../unixbench/{unixbench_git.bb => unixbench_6.0.1.bb}        | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-benchmark/unixbench/{unixbench_git.bb => unixbench_6.0.1.bb} (94%)

diff --git a/meta-oe/recipes-benchmark/unixbench/unixbench_git.bb b/meta-oe/recipes-benchmark/unixbench/unixbench_6.0.1.bb
similarity index 94%
rename from meta-oe/recipes-benchmark/unixbench/unixbench_git.bb
rename to meta-oe/recipes-benchmark/unixbench/unixbench_6.0.1.bb
index c119c1cf43..47b7eb5e80 100644
--- a/meta-oe/recipes-benchmark/unixbench/unixbench_git.bb
+++ b/meta-oe/recipes-benchmark/unixbench/unixbench_6.0.1.bb
@@ -5,11 +5,13 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = " \
-    git://github.com/kdlucas/byte-unixbench.git;protocol=https;nobranch=1 \
+    git://github.com/kdlucas/byte-unixbench.git;protocol=https;branch=master;tag=v${PV} \
     file://0001-skip-make-checks.patch \
 "
 SRCREV = "e949d4402f76b4bc9b7b114418faace882f0ef12"
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+
 do_configure[noexec] = "1"
 
 RDEPENDS:${PN} += " \
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.