[oe][meta-oe][PATCH 14/25] wrk: 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]>
---
 meta-oe/recipes-benchmark/wrk/{wrk_git.bb => wrk_4.2.0.bb} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-benchmark/wrk/{wrk_git.bb => wrk_4.2.0.bb} (94%)

diff --git a/meta-oe/recipes-benchmark/wrk/wrk_git.bb b/meta-oe/recipes-benchmark/wrk/wrk_4.2.0.bb
similarity index 94%
rename from meta-oe/recipes-benchmark/wrk/wrk_git.bb
rename to meta-oe/recipes-benchmark/wrk/wrk_4.2.0.bb
index b22c1e8c62..299bfbf310 100644
--- a/meta-oe/recipes-benchmark/wrk/wrk_git.bb
+++ b/meta-oe/recipes-benchmark/wrk/wrk_4.2.0.bb
@@ -8,9 +8,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1a1b7dfe4016fcf67ae4715f167a0043"
 
 DEPENDS = "luajit luajit-native openssl"
 
-SRC_URI = "git://github.com/wg/wrk.git;protocol=https;branch=master"
+SRC_URI = "git://github.com/wg/wrk.git;protocol=https;branch=master;tag=${PV}"
 SRCREV = "a211dd5a7050b1f9e8a9870b95513060e72ac4a0"
 
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
+
 # Use system luajit and openssl instead of bundled deps/
 # luajit headers install to a versioned subdir, point include path explicitly
 # LUA_PATH must point to luajit-native's jit.* modules for bytecode compilation (-b)
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.