diff --git a/.gitignore b/.gitignore index 6456158..278146c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /aes-gcm-0.8.0.crate /aes-gcm-0.9.2.crate +/aes-gcm-0.9.4.crate diff --git a/aes-gcm-fix-metadata.diff b/aes-gcm-fix-metadata.diff new file mode 100644 index 0000000..33698dd --- /dev/null +++ b/aes-gcm-fix-metadata.diff @@ -0,0 +1,16 @@ +--- aes-gcm-0.9.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ aes-gcm-0.9.4/Cargo.toml 2021-09-29T15:56:16.778431+00:00 +@@ -44,11 +44,11 @@ + default-features = false + + [dependencies.subtle] +-version = ">=2, <2.5" ++version = "2" + default-features = false + + [dependencies.zeroize] +-version = ">=1, <1.4" ++version = "1" + optional = true + default-features = false + [dev-dependencies.aead] diff --git a/rust-aes-gcm.spec b/rust-aes-gcm.spec index 7001876..ecc888b 100644 --- a/rust-aes-gcm.spec +++ b/rust-aes-gcm.spec @@ -5,7 +5,7 @@ %global crate aes-gcm Name: rust-%{crate} -Version: 0.9.2 +Version: 0.9.4 Release: %autorelease Summary: Pure Rust implementation of the AES-GCM AEAD Cipher @@ -13,6 +13,9 @@ Summary: Pure Rust implementation of the AES-GCM AEAD Cipher License: ASL 2.0 or MIT URL: https://crates.io/crates/aes-gcm Source: %{crates_source} +# Initial patched metadata +# * relax subtle and zeroize dependencies +Patch0: aes-gcm-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/sources b/sources index 90dd520..d6794a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aes-gcm-0.9.2.crate) = 0430f4b240651c0d51b7785c10f81d739e8c687c1476d938cbef3b4249541469ab429245b1a97711024fc81795022372c23d2a45c139be289efc4fa9e344ca70 +SHA512 (aes-gcm-0.9.4.crate) = 68cb984c1b29a6266ce5286295fd944183c32a88c1f63b8ad38a0899cb312a00a67bdff8a9d09d8193ff579d7f61f14fd3eb92fbd9f647efc004e610069c424b