summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-11-28 15:34:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:48:08 +0000
commitc6bd22aee51de93a20142aee19c3b83dfd641e33 (patch)
tree24afa4005ae7727365da16705660a280798c58ca /meta/classes
parent2d7b93a503d85f8d9afac5fcde16ca4c392f70b2 (diff)
downloadpoky-c6bd22aee51de93a20142aee19c3b83dfd641e33.tar.gz
upstream-version-is-even.bbclass: ensure that the full version is matched.
Previously 4.3.2.1 would match as 3.2.1. (From OE-Core rev: b066910f64ba964a8a0bb452925591eed1e16940) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/upstream-version-is-even.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/upstream-version-is-even.bbclass b/meta/classes/upstream-version-is-even.bbclass
index 89556ed7d4..99714cb100 100644
--- a/meta/classes/upstream-version-is-even.bbclass
+++ b/meta/classes/upstream-version-is-even.bbclass
@@ -2,4 +2,4 @@
2# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.) 2# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.)
3# This scheme is used by Gnome and a number of other projects 3# This scheme is used by Gnome and a number of other projects
4# to signify stable releases vs development releases. 4# to signify stable releases vs development releases.
5UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" 5UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"