gnome.bbclass: change version regexp to handle x.y versions, not just x.y.z

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2752 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton 2007-09-17 18:52:01 +00:00
parent 80924d4686
commit b6b72006b7
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
def gnome_verdir(v):
import re
m = re.match("([0-9]+)\.([0-9]+)\..*", v)
m = re.match("^([0-9]+)\.([0-9]+)", v)
return "%s.%s" % (m.group(1), m.group(2))
SECTION ?= "x11/gnome"