mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 19:09:41 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user