[meta-intel] [PATCH] zlib-intel: use '.' instead of '_' in PV
Anuj Mittal
anuj.mittal at intel.com
Thu Aug 8 15:31:50 PDT 2019
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 <anuj.mittal at intel.com>
---
...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<pver>(\d+(\.\d+)+)_jtkv(\d+(\.\d+)+))$"
--
2.21.0
More information about the meta-intel
mailing list