lib: spdx30_tasks: Fix supplied By

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

(From OE-Core rev: a33fb425262492f5e8f6cc5e7ec2adf072042817)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt
2024-12-02 12:20:23 -07:00
committed by Richard Purdie
parent d79a5c051e
commit 8bc93605d5

View File

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