Skip to contentSkip to conversation

lib: spdx30_tasks: Fix supplied By

PATCH New Joshua Watt 1 participant 1 message Dec 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: spdx30_tasks: Fix supplied By

Fixes the supplied by property in SPDX to use the correct name

---
 meta/lib/oe/spdx30_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/spdx30_tasks.py +1 -1
index 5aeed5cd6fc..30f1a3a1661 100644
@@ -596,7 +596,7 @@ def create_spdx(d):
 
             supplier = build_objset.new_agent("SPDX_PACKAGE_SUPPLIER")
             if supplier is not None:
-                spdx_package.supplier = (
+                spdx_package.suppliedBy = (
                     supplier if isinstance(supplier, str) else supplier._id
                 )
 
Signature · 1 line
2.47.1