From 8419b19d38ec3b7bf10965d0a71cf88a1961f8be Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Jan 06 2024 05:08:55 +0000 Subject: Update to 0.3.0 Signed-off-by: Michel Lind --- diff --git a/.gitignore b/.gitignore index 4959d2d..53bb292 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /constant_time_eq-0.2.4.crate /constant_time_eq-0.2.5.crate /constant_time_eq-0.2.6.crate +/constant_time_eq-0.3.0.crate diff --git a/constant_time_eq-fix-metadata.diff b/constant_time_eq-fix-metadata.diff index 38312f0..7672067 100644 --- a/constant_time_eq-fix-metadata.diff +++ b/constant_time_eq-fix-metadata.diff @@ -1,5 +1,5 @@ ---- constant_time_eq-0.2.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ constant_time_eq-0.2.6/Cargo.toml 2023-06-12T10:34:17.622750+00:00 +--- 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 @@ ] license = "CC0-1.0 OR MIT-0 OR Apache-2.0" @@ -10,10 +10,10 @@ -harness = false - -[dev-dependencies.count_instructions] --version = "0.1.1" +-version = "0.1.3" - -[dev-dependencies.criterion] --version = "0.4" +-version = "0.5.1" -features = [ - "cargo_bench_support", - "html_reports", diff --git a/rust-constant_time_eq.spec b/rust-constant_time_eq.spec index ec60e37..6932aa8 100644 --- a/rust-constant_time_eq.spec +++ b/rust-constant_time_eq.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate constant_time_eq Name: rust-constant_time_eq -Version: 0.2.6 +Version: 0.3.0 Release: %autorelease Summary: Compares two equal-sized byte strings in constant time @@ -17,7 +17,7 @@ Source: %{crates_source} # * drop unused count_instructions dev-dependency and associated feature Patch: constant_time_eq-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Compares two equal-sized byte strings in constant time.} @@ -53,7 +53,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index a056629..93b4309 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (constant_time_eq-0.2.6.crate) = 3c8b61de0be32647be4c64d2d4856cf317964dfd682c32268046c6d4fb66af5b3fac32dc214e537ece9b3a879685b1d87c47757afd336630cacd5c8b9716f8f7 +SHA512 (constant_time_eq-0.3.0.crate) = 77bf6817c521daa45c0df7721418b4aa367531adde46b1db97316d52ffb46fc4ee2d3e6f62ff91ca6292db5e1d3e040f0f5287c3936f12a595b2c8c5928bf5e6