diff --git a/.gitignore b/.gitignore index d75ed34..38b4e18 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /crypto-mac-0.7.0.crate /crypto-mac-0.8.0.crate /crypto-mac-0.10.0.crate +/crypto-mac-0.11.1.crate diff --git a/crypto-mac-fix-metadata.diff b/crypto-mac-fix-metadata.diff new file mode 100644 index 0000000..ff83477 --- /dev/null +++ b/crypto-mac-fix-metadata.diff @@ -0,0 +1,11 @@ +--- crypto-mac-0.11.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ crypto-mac-0.11.1/Cargo.toml 2021-08-24T21:05:24.725574+00:00 +@@ -37,7 +37,7 @@ + version = "0.14" + + [dependencies.subtle] +-version = "=2.4" ++version = "2.4" + default-features = false + + [features] diff --git a/rust-crypto-mac.spec b/rust-crypto-mac.spec index afc4f27..14c68fd 100644 --- a/rust-crypto-mac.spec +++ b/rust-crypto-mac.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate crypto-mac Name: rust-%{crate} -Version: 0.10.0 +Version: 0.11.1 Release: %autorelease Summary: Trait for Message Authentication Code (MAC) algorithms @@ -13,6 +13,9 @@ Summary: Trait for Message Authentication Code (MAC) algorithms License: MIT or ASL 2.0 URL: https://crates.io/crates/crypto-mac Source: %{crates_source} +# Initial patched metadata +# * relax subtle dependency +Patch0: crypto-mac-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/sources b/sources index febde65..7e4e3f4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crypto-mac-0.10.0.crate) = 8b406db46a08f64d899eb26597fac99576b3fa892eb83bbe089eeef7e6452f43dd138232ed4fe75cdbac2966f94b71f92910c14c53b39e5501990a9976ed1b59 +SHA512 (crypto-mac-0.11.1.crate) = 3090a7a3fdb7d94b2b14841e37733d863f2e4d24d7da3c63df1726612abdd1c1df7179bba4e344eb63a94053e59a93b0988ecd1e2e5a5db0e18a4b602be4aaa9