Skip to contentSkip to conversation

libredblack: fix warnings

PATCH New Denys Dmytriyenko 1 participant 1 message Jul 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libredblack: fix warnings

From: Denys Dmytriyenko <[email protected]>

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]

---
 .../recipes-sysrepo/libredblack/libredblack_git.bb            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-sysrepo/libredblack/libredblack_git.bb +2 -2
index ea51b618..f073aa06 100644
@@ -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"
Signature · 1 line
2.25.1