From 99558e667e4e04934943476472bd9919b5d07855 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 13 Dec 2019 12:42:24 +0100 Subject: 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. Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton --- meta/recipes-support/vim/vim.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-support/vim') 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 \ " SRCREV = "202d982b36d87cf91d992bd7e30d3223bdc72cd9" +# Do not consider .z in x.y.z, as that is updated with every commit +UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+\.\d+)\.0" + S = "${WORKDIR}/git" VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}" -- cgit 1.2.3-korg