diff --git a/meta/recipes-support/p11-kit/p11-kit_0.26.6.bb b/meta/recipes-support/p11-kit/p11-kit_0.26.6.bb
index 18430f0a74..7a72675c20 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.26.6.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.26.6.bb
@@ -13,6 +13,8 @@ DEPENDS:append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else ''
 SRC_URI = "gitsm://github.com/p11-glue/p11-kit;branch=master;protocol=https;tag=${PV}"
 SRCREV = "f9813f90a51761dc75b5dcd8d9766466b8904f5c"
 
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
+
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} trust"
 PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
 PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
