diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-11-28 15:34:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-30 15:48:08 +0000 |
commit | c6bd22aee51de93a20142aee19c3b83dfd641e33 (patch) | |
tree | 24afa4005ae7727365da16705660a280798c58ca /meta/classes | |
parent | 2d7b93a503d85f8d9afac5fcde16ca4c392f70b2 (diff) | |
download | poky-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.bbclass | 2 |
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. |
5 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | 5 | UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" |