Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-core][PATCH] lib: spdx30_tasks: Fix supplied By
@ 2024-12-02 19:20 Joshua Watt
  0 siblings, 0 replies; only message in thread
From: Joshua Watt @ 2024-12-02 19:20 UTC (permalink / raw)
  To: openembedded-core; +Cc: Joshua Watt

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 --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
                 )
 
-- 
2.47.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-02 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02 19:20 [OE-core][PATCH] lib: spdx30_tasks: Fix supplied By Joshua Watt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox