From efd3e90bbe7b16e9746214058a5b437ff6fdcc85 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Sat, 20 Jan 2024 01:50:12 +0300 Subject: [PATCH] import rust-constant_time_eq-0.3.0-2.el9.el9 --- SOURCES/constant_time_eq-fix-metadata.diff | 9 ++++++--- SPECS/rust-constant_time_eq.spec | 12 +++++++++--- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/SOURCES/constant_time_eq-fix-metadata.diff b/SOURCES/constant_time_eq-fix-metadata.diff index 7672067..8d7d813 100644 --- a/SOURCES/constant_time_eq-fix-metadata.diff +++ b/SOURCES/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/SPECS/rust-constant_time_eq.spec b/SPECS/rust-constant_time_eq.spec index c87835b..9d573c3 100644 --- a/SPECS/rust-constant_time_eq.spec +++ b/SPECS/rust-constant_time_eq.spec @@ -1,8 +1,8 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.3.5) +## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 1; + release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} @@ -19,10 +19,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 @@ -81,6 +82,10 @@ use the "default" feature of the "%{crate}" crate. %endif %changelog +## START: Generated by rpmautospec +* Fri Jan 19 2024 Fabio Valentini - 0.3.0-2 +- Remove CC0-1.0 from license metadata (not acceptable for code in Fedora) + * Mon Jan 15 2024 Arkady L. Shane - 0.3.0-1 - Rebuilt for MSVSphere 9.3 @@ -114,3 +119,4 @@ use the "default" feature of the "%{crate}" crate. * Thu Jun 17 2021 Davide Cavalca - 0.1.5-1 - Initial package +## END: Generated by rpmautospec