gnupg: follow odd-even scheme in upstream version checks

Unfortunately this has been overlooked, and resulted in
erroneous updates to testing/development releases.

The check will report an 'unknown' latest version until 2.6.0
is released.

(From OE-Core rev: 7e505c1506ea6a079b0291f84e4ec6774064ef20)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2025-03-11 11:04:59 +01:00
committed by Richard Purdie
parent 14929d8bf1
commit 269385daa4

View File

@@ -11,9 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=189af8afca6d6075ba6c9e0aa8077626 \
DEPENDS = "npth libassuan libksba zlib bzip2 readline libgcrypt"
inherit autotools gettext texinfo pkgconfig
inherit autotools gettext texinfo pkgconfig upstream-version-is-even
UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
UPSTREAM_CHECK_URI = "https://gnupg.org/ftp/gcrypt/gnupg/"
SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
file://0002-use-pkgconfig-instead-of-npth-config.patch \
file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \