build: Fix license string to comply with SPDX list

cargo-cyclonedx rejects the current license key in Cargo.toml, because
it doesn't comply with the SPDX standard:

  Package cloud-hypervisor has an invalid license expression (LICENSE-APACHE & LICENSE-BSD-3-Clause), using as named license: Invalid Lax SPDX expression: unknown term

Fix by using the names from the SPDX list:
https://spdx.github.io/license-list-data/

Signed-off-by: Julian Stecklina <julian.stecklina@cyberus-technology.de>
This commit is contained in:
Julian Stecklina 2024-06-25 16:56:50 +02:00 committed by Liu Wei
parent 165c2c476f
commit 246cb94dc5

View File

@ -5,7 +5,7 @@ default-run = "cloud-hypervisor"
description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM & MSHV" description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM & MSHV"
edition = "2021" edition = "2021"
homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor" homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor"
license = "LICENSE-APACHE & LICENSE-BSD-3-Clause" license = "Apache-2.0 AND BSD-3-Clause"
name = "cloud-hypervisor" name = "cloud-hypervisor"
version = "40.0.0" version = "40.0.0"
# Minimum buildable version: # Minimum buildable version: