]> code.ossystems Code Review - openembedded-core.git/commitdiff
upstream-version-is-even.bbclass: ensure that the full version is matched.
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 28 Nov 2016 13:34:19 +0000 (15:34 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Nov 2016 15:47:16 +0000 (15:47 +0000)
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>
meta/classes/upstream-version-is-even.bbclass

index 89556ed7d4dd45c5d63a7894075dad728fb1b0c9..99714cb1009fb8536b52ec243faf3a4b2f149885 100644 (file)
@@ -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+)+)"