Message ID | 20250818195543.1428606-1-JPEWhacker@gmail.com |
---|---|
State | New |
Headers | show |
Series | spdx30_tasks: Change package license to declared | expand |
diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py index c352dab1520..f2f133005d8 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)], )
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 <JPEWhacker@gmail.com> --- meta/lib/oe/spdx30_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)