diff options
| -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 @@ | |||
| 1 | def gnome_verdir(v): | 1 | def gnome_verdir(v): |
| 2 | import re | 2 | return oe.utils.trim_version(v, 2) |
| 3 | m = re.match("^([0-9]+)\.([0-9]+)", v) | ||
| 4 | return "%s.%s" % (m.group(1), m.group(2)) | ||
| 5 | 3 | ||
| 6 | GNOME_COMPRESS_TYPE ?= "bz2" | 4 | GNOME_COMPRESS_TYPE ?= "bz2" |
| 7 | SECTION ?= "x11/gnome" | 5 | SECTION ?= "x11/gnome" |
