Skip to content

Commit

Permalink
build: Fix license string to comply with SPDX list
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
blitz authored and liuw committed Jun 25, 2024
1 parent 165c2c4 commit 246cb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 246cb94

Please sign in to comment.