aboutsummaryrefslogtreecommitdiffstats
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:47:16 +0000
commitb066910f64ba964a8a0bb452925591eed1e16940 (patch)
tree85d16f4b50958075c42ec8b6d21da80aad8ab17d
parent7fed6729417cd3826ea89ad1ce0d7793a330bc7e (diff)
downloadopenembedded-core-contrib-b066910f64ba964a8a0bb452925591eed1e16940.tar.gz
openembedded-core-contrib-b066910f64ba964a8a0bb452925591eed1e16940.tar.bz2
openembedded-core-contrib-b066910f64ba964a8a0bb452925591eed1e16940.zip
upstream-version-is-even.bbclass: ensure that the full version is matched.
Previously 4.3.2.1 would match as 3.2.1. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 89556ed7d4d..99714cb1009 100644
--- a/meta/classes/upstream-version-is-even.bbclass
+++ b/meta/classes/upstream-version-is-even.bbclass
@@ -2,4 +2,4 @@
# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.)
# This scheme is used by Gnome and a number of other projects
# to signify stable releases vs development releases.
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"