From f4f248406d39b7d4d884cf3cfe3e4a5153c2b6df Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Thu, 8 Aug 2019 22:45:17 +0800 Subject: [PATCH] zlib-intel: use '.' instead of '_' in PV Otherwise everything after underscore either gets ignored (in case of devtool) or converted to a hyphen. This ensures that the version is handled more consistently. Also add a custom GITTAGREGEX check to check for upstream releases. Signed-off-by: Anuj Mittal --- ...intel_1.2.11.1_jtkv6.3.bb => zlib-intel_1.2.11.1.jtkv6.3.bb} | 2 ++ 1 file changed, 2 insertions(+) rename recipes-core/zlib/{zlib-intel_1.2.11.1_jtkv6.3.bb => zlib-intel_1.2.11.1.jtkv6.3.bb} (85%) diff --git a/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb b/recipes-core/zlib/zlib-intel_1.2.11.1.jtkv6.3.bb similarity index 85% rename from recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb rename to recipes-core/zlib/zlib-intel_1.2.11.1.jtkv6.3.bb index 02b75156..65303bff 100644 --- a/recipes-core/zlib/zlib-intel_1.2.11.1_jtkv6.3.bb +++ b/recipes-core/zlib/zlib-intel_1.2.11.1.jtkv6.3.bb @@ -14,3 +14,5 @@ S = "${WORKDIR}/git" RPROVIDES_${PN} += "zlib" RPROVIDES_${PN}-ptest += "zlib-ptest" + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P(\d+(\.\d+)+)_jtkv(\d+(\.\d+)+))$"