Inherit github-releases class to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version c-ares
INFO: Current version: 1.34.5
INFO: Latest version:

After the patch:
$ devtool latest-version c-ares
INFO: Current version: 1.34.5
INFO: Latest version: 1.34.5

Signed-off-by: Yi Zhao <[email protected]>
---
 meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb 
b/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb
index 8204f25cdb..b434886311 100644
--- a/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb
+++ b/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb
@@ -14,7 +14,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 
'tests', '', d)}"
 PACKAGECONFIG[manpages] = ""
 PACKAGECONFIG[tests] = 
"-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest"
 
-inherit cmake manpages pkgconfig ptest
+inherit cmake manpages pkgconfig ptest github-releases
 
 EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' 
else 'OFF' }"
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121533): 
https://lists.openembedded.org/g/openembedded-devel/message/121533
Mute This Topic: https://lists.openembedded.org/mt/116255824/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to