From 61ba0ef1400a2fa3729473e496e8459cbbba73ad Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Mon, 18 Aug 2025 13:55:43 -0600 Subject: [PATCH] spdx30_tasks: Change package license to declared Per discussion with SPDX licensing group, the package license statements classify as declared licenses, not concluded licenses. Note that this is the same as a change made to the recipe licenses, just for packages. Signed-off-by: Joshua Watt Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/lib/oe/spdx30_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py index c352dab152..f2f133005d 100644 --- a/meta/lib/oe/spdx30_tasks.py +++ b/meta/lib/oe/spdx30_tasks.py @@ -696,7 +696,7 @@ def create_spdx(d): pkg_objset.new_relationship( [spdx_package], - oe.spdx30.RelationshipType.hasConcludedLicense, + oe.spdx30.RelationshipType.hasDeclaredLicense, [oe.sbom30.get_element_link_id(package_spdx_license)], ) -- 2.47.3