]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes/create-spdx-2.2: Handle SemVer License List Versions
authorJoshua Watt <JPEWhacker@gmail.com>
Mon, 1 Jul 2024 16:51:24 +0000 (10:51 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Jul 2024 21:29:10 +0000 (22:29 +0100)
commit8757a5eaeaf2b9d7345212d003e5622289b123e6
tree5dcf222b7cec33cd69fa9eaa488b70c1e0aa613e
parente9c1f48af10ccb58251ecc7e041babb99b94d6df
classes/create-spdx-2.2: Handle SemVer License List Versions

SPDX transitioned the license list to use SemVer visioning, (e.g.
"MAJOR.MINOR.MICRO"), but SPDX 2 only allows "MAJOR.MINOR". For maximum
compatibility, only keep the first two version numbers and discard the
rest which allows it to work with either scheme

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/create-spdx-2.2.bbclass