]> code.ossystems Code Review - openembedded-core.git/commitdiff
ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX
authorHongxu Jia <hongxu.jia@windriver.com>
Sun, 12 May 2019 08:16:25 +0000 (16:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 May 2019 13:17:51 +0000 (14:17 +0100)
The upstream git tag has a `upstream/' prefix, such as:
>>> import re
>>> pattern = "upstream/(?P<pver>\d+(\.\d+)+(\+\d+)*)"
>>> string = "upstream/6.1+20181013"
>>> result = re.match(pattern, string)
>>> result['pver']
'6.1+20181013'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/ncurses/ncurses_6.1+20181013.bb

index ef6ca9879bce5c75a2431afadbf9549dae77b940..928c47742ce8261df8b8c19ac640e9626be4dacd 100644 (file)
@@ -8,4 +8,4 @@ SRC_URI += "file://0001-tic-hang.patch \
 SRCREV = "7a97a7f937762ba342d5b2fd7cd090885a809835"
 S = "${WORKDIR}/git"
 EXTRA_OECONF += "--with-abi-version=5 --cache-file=${B}/config.cache"
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)"
+UPSTREAM_CHECK_GITTAGREGEX = "upstream/(?P<pver>\d+(\.\d+)+(\+\d+)*)"