From 1f60982d5469d0019a2da1600d1a0d1dc291a2b1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Sep 2024 19:56:29 +0200 Subject: [PATCH] Bump pbkdf2 dependency from 0.11 to 0.12 --- rust-zip.spec | 1 + rust2rpm.toml | 1 + zip-fix-metadata.diff | 11 ++++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/rust-zip.spec b/rust-zip.spec index b86943d..fd33e21 100644 --- a/rust-zip.spec +++ b/rust-zip.spec @@ -14,6 +14,7 @@ URL: https://crates.io/crates/zip Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump constant_time_eq dependency from 0.1 to 0.3 +# * bump pbkdf2 dependency from 0.11 to 0.12 # * bump zstd dependency from 0.11 to 0.13 # * drop unused, benchmark-only bencher dev-dependency Patch: zip-fix-metadata.diff diff --git a/rust2rpm.toml b/rust2rpm.toml index 564ddc0..f5e36c2 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,6 +1,7 @@ [package] cargo-toml-patch-comments = [ "bump constant_time_eq dependency from 0.1 to 0.3", + "bump pbkdf2 dependency from 0.11 to 0.12", "bump zstd dependency from 0.11 to 0.13", "drop unused, benchmark-only bencher dev-dependency", ] diff --git a/zip-fix-metadata.diff b/zip-fix-metadata.diff index 6f814e1..7992426 100644 --- a/zip-fix-metadata.diff +++ b/zip-fix-metadata.diff @@ -1,5 +1,5 @@ --- zip-0.6.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ zip-0.6.6/Cargo.toml 2024-09-19T17:25:43.933457+00:00 ++++ zip-0.6.6/Cargo.toml 2024-09-19T17:54:06.895145+00:00 @@ -50,7 +50,7 @@ optional = true @@ -9,6 +9,15 @@ optional = true [dependencies.crc32fast] +@@ -67,7 +67,7 @@ + optional = true + + [dependencies.pbkdf2] +-version = "0.11.0" ++version = "0.12.0" + optional = true + + [dependencies.sha1] @@ -81,11 +81,8 @@ default-features = false