]> code.ossystems Code Review - openembedded-core.git/commitdiff
fontconfig: fix upstream version check
authorMaxin B. John <maxin.john@intel.com>
Mon, 12 Feb 2018 17:15:36 +0000 (19:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Feb 2018 18:05:27 +0000 (18:05 +0000)
In the case of fontconfig, version x.x.9x are release candidates
for next version.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/fontconfig/fontconfig_2.12.6.bb

index fa5f0eecc20c824914b8a12c0dbb493163221185..d4cbce80b451f40fbfda710544af1d950e40ab4b 100644 (file)
@@ -28,6 +28,7 @@ SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
 SRC_URI[md5sum] = "00e748c67fad11e7057a71ed385e8bdb"
 SRC_URI[sha256sum] = "064b9ebf060c9e77011733ac9dc0e2ce92870b574cca2405e11f5353a683c334"
 
+UPSTREAM_CHECK_REGEX = "fontconfig-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
 
 do_configure_prepend() {
     # work around https://bugs.freedesktop.org/show_bug.cgi?id=101280