diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/gnomebase.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/gnomebase.bbclass b/meta/classes/gnomebase.bbclass index 91c476cab3..7539b9dcf8 100644 --- a/meta/classes/gnomebase.bbclass +++ b/meta/classes/gnomebase.bbclass @@ -1,7 +1,5 @@ def gnome_verdir(v): - import re - m = re.match("^([0-9]+)\.([0-9]+)", v) - return "%s.%s" % (m.group(1), m.group(2)) + return oe.utils.trim_version(v, 2) GNOME_COMPRESS_TYPE ?= "bz2" SECTION ?= "x11/gnome" |