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

Before the patch:
$ devtool latest-version cunit
INFO: Current version: 2.1-3
INFO: Latest version:

After the patch:
$ devtool latest-version cunit
INFO: Current version: 2.1-3
INFO: Latest version: 2.1-3

Signed-off-by: Yi Zhao <[email protected]>
---
 meta-oe/recipes-test/cunit/cunit_2.1-3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-test/cunit/cunit_2.1-3.bb 
b/meta-oe/recipes-test/cunit/cunit_2.1-3.bb
index 9aab617487..75ba477757 100644
--- a/meta-oe/recipes-test/cunit/cunit_2.1-3.bb
+++ b/meta-oe/recipes-test/cunit/cunit_2.1-3.bb
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = 
"f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a
 
 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/cunit/files/releases";
 
-inherit autotools-brokensep ptest
+inherit autotools-brokensep ptest sourceforge-releases
 
 EXTRA_OECONF = "--enable-memtrace --enable-automated --enable-basic 
--enable-console"
 
-- 
2.34.1

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

Reply via email to