diff mbox series

[master/kirkstone] libredblack: fix warnings

Message ID 20230705224201.675681-1-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [master/kirkstone] libredblack: fix warnings | expand

Commit Message

Denys Dmytriyenko July 5, 2023, 10:42 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

1. Explicitly specify branch in git URL
2. Use the correct SPDX license identifier

Fixes these warnings:

| WARNING: libredblack_git.bb: URL: git://github.com/sysrepo/libredblack.git;protocol=https does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.
| WARNING: libredblack-1.0+gitAUTOINC+a399310d99-r0 do_package_qa: QA Issue: Recipe LICENSE includes obsolete licenses LGPLv2.1 [obsolete-license]

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 .../recipes-sysrepo/libredblack/libredblack_git.bb            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-sysrepo/libredblack/libredblack_git.bb b/meta-arago-extras/recipes-sysrepo/libredblack/libredblack_git.bb
index ea51b618..f073aa06 100644
--- a/meta-arago-extras/recipes-sysrepo/libredblack/libredblack_git.bb
+++ b/meta-arago-extras/recipes-sysrepo/libredblack/libredblack_git.bb
@@ -1,9 +1,9 @@ 
 SUMMARY = "Library for handling red-black tree searching algorithm"
 DESCRIPTION = "A library to provide the RedBlack balanced tree searching and sorting algorithm."
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=de174fb5a92cdbe038c88dc4c4316f99"
 
-SRC_URI = "git://github.com/sysrepo/libredblack.git;protocol=https"
+SRC_URI = "git://github.com/sysrepo/libredblack.git;protocol=https;branch=master"
 
 PV = "1.0+git${SRCPV}"
 SRCREV = "a399310d99b61eec4d3c0677573ab5dddcf9395d"