From 7facd29b5af23759f62cd61ac9059a61c22e4a2b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Sep 2024 16:07:22 +0200 Subject: [PATCH] Bump base64 dev-dependency from 0.21 to 0.22 --- base64ct-fix-metadata.diff | 11 +++++++++++ rust-base64ct.spec | 11 +++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 base64ct-fix-metadata.diff diff --git a/base64ct-fix-metadata.diff b/base64ct-fix-metadata.diff new file mode 100644 index 0000000..326e449 --- /dev/null +++ b/base64ct-fix-metadata.diff @@ -0,0 +1,11 @@ +--- base64ct-1.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ base64ct-1.6.0/Cargo.toml 2024-09-19T14:05:44.299614+00:00 +@@ -45,7 +45,7 @@ + ] + + [dev-dependencies.base64] +-version = "0.21" ++version = "0.22" + + [dev-dependencies.proptest] + version = "1" diff --git a/rust-base64ct.spec b/rust-base64ct.spec index d84e9e4..8ddd8d9 100644 --- a/rust-base64ct.spec +++ b/rust-base64ct.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} @@ -7,13 +7,16 @@ Name: rust-base64ct Version: 1.6.0 Release: %autorelease -Summary: Pure Rust, constant-time implementation of Base64 (RFC 4648) +Summary: Pure Rust implementation of Base64 License: Apache-2.0 OR MIT URL: https://crates.io/crates/base64ct Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump base64 dev-dependency from 0.21 to 0.22 +Patch: base64ct-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Pure Rust implementation of Base64 (RFC 4648) which avoids any usages of @@ -75,7 +78,7 @@ use the "std" 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