diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-12-13 12:42:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:42 +0000 |
commit | 5fd13c61420cdeb93b4095b0c8d4bf8cd83a08cd (patch) | |
tree | db2de29f3631c328a7e3576b93020a8f549dbded /meta/recipes-support/vim | |
parent | 5df56c70f4c9020b756408cfcd00bb9436c8a85c (diff) | |
download | poky-5fd13c61420cdeb93b4095b0c8d4bf8cd83a08cd.tar.gz |
vim: fix upstream version check
Only new x.y versions will be reported, as upstream creates a new
x.y.z tag for every commit.
(From OE-Core rev: 99558e667e4e04934943476472bd9919b5d07855)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vim')
-rw-r--r-- | meta/recipes-support/vim/vim.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 0a31e68cb7..5a1bea6985 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc | |||
@@ -14,6 +14,9 @@ SRC_URI = "git://github.com/vim/vim.git \ | |||
14 | " | 14 | " |
15 | SRCREV = "202d982b36d87cf91d992bd7e30d3223bdc72cd9" | 15 | SRCREV = "202d982b36d87cf91d992bd7e30d3223bdc72cd9" |
16 | 16 | ||
17 | # Do not consider .z in x.y.z, as that is updated with every commit | ||
18 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0" | ||
19 | |||
17 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
18 | 21 | ||
19 | VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}" | 22 | VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}" |