diff mbox series

spdx30_tasks: Change recipe license to declared

Message ID 20250625222916.11663-1-JPEWhacker@gmail.com
State Accepted, archived
Commit 561447c7cc1485366dbf41cfbf8dcc1cbf29d043
Headers show
Series spdx30_tasks: Change recipe license to declared | expand

Commit Message

Joshua Watt June 25, 2025, 10:29 p.m. UTC
Per discussion with the SPDX licensing group, recipe LICENSE statements
classify as a declared license, not a concluded license.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/lib/oe/spdx30_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py
index beeafc2bb7c..5d9f3168d97 100644
--- a/meta/lib/oe/spdx30_tasks.py
+++ b/meta/lib/oe/spdx30_tasks.py
@@ -552,7 +552,7 @@  def create_spdx(d):
     )
     build_objset.new_relationship(
         source_files,
-        oe.spdx30.RelationshipType.hasConcludedLicense,
+        oe.spdx30.RelationshipType.hasDeclaredLicense,
         [oe.sbom30.get_element_link_id(recipe_spdx_license)],
     )