1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

classes/spdx-common: Add SPDX version to path

Since multiple versions of SPDX are available, use the version in the
path

(From OE-Core rev: 35c061a4514905b3ebbb7f0633a584927519445c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt
2024-06-10 15:41:49 -06:00
committed by Richard Purdie
parent 92b202c246
commit 37c9adaf80
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -6,6 +6,8 @@
inherit spdx-common
SPDX_VERSION = "2.2"
def get_namespace(d, name):
import uuid
namespace_uuid = uuid.uuid5(uuid.NAMESPACE_DNS, d.getVar("SPDX_UUID_NAMESPACE"))