Skip to contentSkip to conversation

spdx30_tasks: Change package license to declared

PATCH New Joshua Watt 1 participant 1 message Aug 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/lib/oe/spdx30_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/spdx30_tasks.py +1 -1
index c352dab1520..f2f133005d8 100644
@@ -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)],
             )
 
Signature · 1 line
2.49.0