From: Joshua Watt Date: Mon, 18 Aug 2025 19:55:43 +0000 (-0600) Subject: spdx30_tasks: Change package license to declared X-Git-Tag: uninative-5.0~507 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61ba0ef1400a2fa3729473e496e8459cbbba73ad;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 --- 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)], )