From: Daniel Turull Date: Fri, 5 Dec 2025 14:51:09 +0000 (+0100) Subject: classes/create-spdx-2.2: Define SPDX_VERSION to 2.2 X-Git-Tag: 2024-04.15-scarthgap~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04cc49593a0ba2c51e4f4d477d4587079735b624;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git classes/create-spdx-2.2: Define SPDX_VERSION to 2.2 SPDX_VERSION is used in DEPLOY_DIR_SPDX but if is not defined, will default to SPDX-1.1 Define SPDX_VERSION to have the correct deploy path, to align with master branch behaviour. The change in path was introduced in 8996d0899d CC: Kamel Bouhara (Schneider Electric) CC: JPEWhacker@gmail.com Signed-off-by: Daniel Turull Signed-off-by: Steve Sakoman --- diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass index 2351a3d5a1..aaa2e78fe2 100644 --- a/meta/classes/create-spdx-2.2.bbclass +++ b/meta/classes/create-spdx-2.2.bbclass @@ -4,6 +4,8 @@ # SPDX-License-Identifier: GPL-2.0-only # +SPDX_VERSION = "2.2" + DEPLOY_DIR_SPDX ??= "${DEPLOY_DIR}/spdx/${SPDX_VERSION}" # The product name that the CVE database uses. Defaults to BPN, but may need to