From 246cb94dc5f14188354cb8b2d928fac301d366bd Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Tue, 25 Jun 2024 16:56:50 +0200 Subject: [PATCH] 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 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8c24dc27d..32ca0f476 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ default-run = "cloud-hypervisor" description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM & MSHV" edition = "2021" 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" version = "40.0.0" # Minimum buildable version: