diff --git a/rust-sized-chunks.spec b/rust-sized-chunks.spec index a310a84..6bc5505 100644 --- a/rust-sized-chunks.spec +++ b/rust-sized-chunks.spec @@ -9,9 +9,13 @@ Version: 0.6.5 Release: %autorelease Summary: Efficient sized chunk datatypes -License: MPL-2.0+ +License: MPL-2.0 URL: https://crates.io/crates/sized-chunks Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * fix invalid SPDX identifier in crate license: +# https://github.com/bodil/sized-chunks/issues/32 +Patch: sized-chunks-fix-metadata.diff BuildRequires: rust-packaging >= 21 diff --git a/sized-chunks-fix-metadata.diff b/sized-chunks-fix-metadata.diff new file mode 100644 index 0000000..cbd6cd0 --- /dev/null +++ b/sized-chunks-fix-metadata.diff @@ -0,0 +1,11 @@ +--- sized-chunks-0.6.5/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ sized-chunks-0.6.5/Cargo.toml 2023-08-22T20:15:40.898467+00:00 +@@ -21,7 +21,7 @@ + readme = "./README.md" + keywords = ["sparse-array"] + categories = ["data-structures"] +-license = "MPL-2.0+" ++license = "MPL-2.0" + repository = "https://github.com/bodil/sized-chunks" + [package.metadata.docs.rs] + all-features = true