From 6cb4d2bce0d65d2a8122177b3113922654b6e9d3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 18 Nov 2023 00:04:56 +0100 Subject: [PATCH] Update to version 0.16.9; Fixes RHBZ#2250112 --- .gitignore | 1 + ecdsa-fix-metadata.diff | 6 +++--- rust-ecdsa.spec | 8 ++++---- sources | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 426d53a..0fa3251 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /ecdsa-0.16.7.crate /ecdsa-0.16.8.crate +/ecdsa-0.16.9.crate diff --git a/ecdsa-fix-metadata.diff b/ecdsa-fix-metadata.diff index 30cdbe5..5ac8f2c 100644 --- a/ecdsa-fix-metadata.diff +++ b/ecdsa-fix-metadata.diff @@ -1,10 +1,10 @@ ---- ecdsa-0.16.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ ecdsa-0.16.8/Cargo.toml 2023-07-21T10:46:25.676847+00:00 +--- ecdsa-0.16.9/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ecdsa-0.16.9/Cargo.toml 2023-11-17T23:02:43.683488+00:00 @@ -77,7 +77,7 @@ default-features = false [dependencies.signature] --version = "2.0, <2.2" +-version = "2.0, <2.3" +version = "2.0" features = ["rand_core"] default-features = false diff --git a/rust-ecdsa.spec b/rust-ecdsa.spec index 6bd54fa..c7a031a 100644 --- a/rust-ecdsa.spec +++ b/rust-ecdsa.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate ecdsa Name: rust-ecdsa -Version: 0.16.8 +Version: 0.16.9 Release: %autorelease Summary: Pure Rust implementation of the Elliptic Curve Digital Signature Algorithm @@ -13,7 +13,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/ecdsa Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * relax signature dependency +# * relax signature dependency from >=2.0,<2.3 to ^2.0 Patch: ecdsa-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -247,7 +247,7 @@ use the "verifying" 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 f4a0bf7..df8ce7b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ecdsa-0.16.8.crate) = b442ad8d15e9bfcd0112d00a36d41c298e7b6c1459db46927aa76c9da7f632503ba97a29fcbf454811270dae35c48ee08e51719257af00b986cdeef63d7bcc73 +SHA512 (ecdsa-0.16.9.crate) = c69f921653a3dd47fede16aa886675c35b082c7b83486a6fea2c39cf2f98535a00263d7f0e68c5593d16b7cbee757ea913060bcaaa4c69884ca6fe2d3b149222