@@ -11,12 +11,11 @@ DEPENDS += "perl"
SRC_URI = "git://github.com/makamaka/JSON.git;protocol=https;branch=master"
-SRCREV = "39bc0e567c202762a575fed2844ebdb941c3ca09"
-# Upstream tags are plain "X.YZ" (e.g. 4.11); PV mirrors them padded (4.05 -> 4.05000).
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
-# PV uses CPAN zero-padded versioning (4.05000) which cannot be compared
-# against upstream's plain tags (4.11); the regex resolves but vercmp mis-sorts.
-UPSTREAM_VERSION_UNKNOWN = "1"
+SRCREV = "2e2812bb38a143ef2e0a553104c0a58a693f8ca7"
+# PV follows the plain upstream tags (4.11); PE covers the move away from the
+# zero-padded CPAN form (4.05000), which sorted above newer releases
+PE = "1"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.\d+)$"
inherit cpan
Upstream changes since 4.05 are backports of newer JSON::PP into the bundled pure-perl backend (up to JSON::PP 4.18), and a test fix for perls with core bool support. Use the plain upstream version (4.11) as PV instead of the zero-padded CPAN form (4.05000), which sorted above every newer release and forced UPSTREAM_VERSION_UNKNOWN; set PE = "1" since 4.11 < 4.05000 in vercmp. The upstream check now uses the release tags directly. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- meta-oe/recipes-devtools/perl/libjson-perl_4.11.bb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)