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:
parent
80924d4686
commit
b6b72006b7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue