diff mbox series

lib: spdx30_tasks: Fix supplied By

Message ID 20241202192023.1123979-1-JPEWhacker@gmail.com
State New
Headers show
Series lib: spdx30_tasks: Fix supplied By | expand

Commit Message

Joshua Watt Dec. 2, 2024, 7:20 p.m. UTC
Fixes the supplied by property in SPDX to use the correct name

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 5aeed5cd6fc..30f1a3a1661 100644
--- a/meta/lib/oe/spdx30_tasks.py
+++ b/meta/lib/oe/spdx30_tasks.py
@@ -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
                 )