From b4cb75d3a6aaf02cd27668d875f2059aee431778 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 12 Mar 2023 15:19:10 +0100 Subject: [PATCH] Update to version 0.2.5; Fixes RHBZ#2177467 --- .gitignore | 1 + README.md | 3 --- constant_time_eq-fix-metadata.diff | 8 ++++---- rust-constant_time_eq.spec | 6 ++---- sources | 2 +- 5 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 39e019c..e170bc0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /constant_time_eq-0.1.5.crate /constant_time_eq-0.2.4.crate +/constant_time_eq-0.2.5.crate diff --git a/README.md b/README.md deleted file mode 100644 index 3fd8d86..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-constant_time_eq - -The rust-constant_time_eq package diff --git a/constant_time_eq-fix-metadata.diff b/constant_time_eq-fix-metadata.diff index 3216c8f..0d788df 100644 --- a/constant_time_eq-fix-metadata.diff +++ b/constant_time_eq-fix-metadata.diff @@ -1,12 +1,12 @@ ---- constant_time_eq-0.2.4/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ constant_time_eq-0.2.4/Cargo.toml 2022-08-10T21:38:31.152983+00:00 -@@ -30,10 +30,3 @@ +--- constant_time_eq-0.2.5/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ constant_time_eq-0.2.5/Cargo.toml 2023-03-12T14:17:46.283883+00:00 +@@ -29,10 +29,3 @@ [[bench]] name = "bench" harness = false - -[dev-dependencies.criterion] --version = "0.3" +-version = "0.4" -features = [ - "cargo_bench_support", - "html_reports", diff --git a/rust-constant_time_eq.spec b/rust-constant_time_eq.spec index 89203af..d202dd4 100644 --- a/rust-constant_time_eq.spec +++ b/rust-constant_time_eq.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate constant_time_eq Name: rust-constant_time_eq -Version: 0.2.4 +Version: 0.2.5 Release: %autorelease Summary: Compares two equal-sized byte strings in constant time @@ -16,8 +16,6 @@ Source: %{crates_source} # * drop unused, benchmark-only criterion dev-dependency to speed up builds Patch: constant_time_eq-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: diff --git a/sources b/sources index eb2ea47..5c98424 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (constant_time_eq-0.2.4.crate) = 61f201f6d51b4c07607ea23701f340e6a204ff04073ee71b4102c2ef8119a2629d89cacb1fb86060a3eb7cd5efbe577d33e15a6e7b5c121d1abb519f95c3b79a +SHA512 (constant_time_eq-0.2.5.crate) = 34bcd1a2f29997ac65ed85c7a9570f7eceb4941f119cf1d7cc7ae5eeb9ece3d4cd5bc9dc86f35cc9facdf8aa9736fd736d38e7ab8aa8fd6e59cc102003d6bd49