]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
classes/create-spdx-2.2: Define SPDX_VERSION to 2.2
authorDaniel Turull <daniel.turull@ericsson.com>
Fri, 5 Dec 2025 14:51:09 +0000 (15:51 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 9 Dec 2025 14:40:33 +0000 (06:40 -0800)
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) <kamel.bouhara@bootlin.com>
CC: JPEWhacker@gmail.com
Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/create-spdx-2.2.bbclass

index 2351a3d5a12f44d2705edffa79df604106c62fb1..aaa2e78fe2113afdd60d9534b4d92c73d9191f42 100644 (file)
@@ -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