From ce3be02213559fc93d728b0cc94f5c5427102e26 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 19 Jan 2024 17:39:59 +0100 Subject: [PATCH] Remove CC0-1.0 from license metadata (not acceptable for code in Fedora) --- constant_time_eq-fix-metadata.diff | 9 ++++++--- rust-constant_time_eq.spec | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/constant_time_eq-fix-metadata.diff b/constant_time_eq-fix-metadata.diff index 7672067..8d7d813 100644 --- a/constant_time_eq-fix-metadata.diff +++ b/constant_time_eq-fix-metadata.diff @@ -1,8 +1,11 @@ --- constant_time_eq-0.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ constant_time_eq-0.3.0/Cargo.toml 2024-01-06T05:07:59.388894+00:00 -@@ -25,20 +25,3 @@ ++++ constant_time_eq-0.3.0/Cargo.toml 2024-01-19T16:39:19.285130+00:00 +@@ -23,22 +23,5 @@ + "cryptography", + "no-std", ] - license = "CC0-1.0 OR MIT-0 OR Apache-2.0" +-license = "CC0-1.0 OR MIT-0 OR Apache-2.0" ++license = "MIT-0 OR Apache-2.0" repository = "https://github.com/cesarb/constant_time_eq" - -[[bench]] diff --git a/rust-constant_time_eq.spec b/rust-constant_time_eq.spec index 6932aa8..009336e 100644 --- a/rust-constant_time_eq.spec +++ b/rust-constant_time_eq.spec @@ -9,10 +9,11 @@ Version: 0.3.0 Release: %autorelease Summary: Compares two equal-sized byte strings in constant time -License: CC0-1.0 OR MIT-0 OR Apache-2.0 +License: MIT-0 OR Apache-2.0 URL: https://crates.io/crates/constant_time_eq Source: %{crates_source} # Manually created patch for downstream crate metadata changes +# * remove CC0-1.0 from license metadata (not acceptable for code in Fedora) # * drop unused, benchmark-only criterion dev-dependency to speed up builds # * drop unused count_instructions dev-dependency and associated feature Patch: constant_time_eq-fix-metadata.diff