From 20bab7e59b6c9c3346de11ce490271cd168fc805 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 21 Sep 2024 23:17:56 +0200 Subject: [PATCH] Bump base64 dependency from 0.21 to 0.22 --- hdrhistogram-fix-metadata.diff | 11 +++++++++++ rust-hdrhistogram.spec | 5 ++++- rust2rpm.toml | 5 +++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 hdrhistogram-fix-metadata.diff diff --git a/hdrhistogram-fix-metadata.diff b/hdrhistogram-fix-metadata.diff new file mode 100644 index 0000000..dfbf4fe --- /dev/null +++ b/hdrhistogram-fix-metadata.diff @@ -0,0 +1,11 @@ +--- hdrhistogram-7.5.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ hdrhistogram-7.5.4/Cargo.toml 2024-09-21T21:16:07.891291+00:00 +@@ -47,7 +47,7 @@ + required-features = ["serialization"] + + [dependencies.base64] +-version = "0.21" ++version = "0.22" + optional = true + + [dependencies.byteorder] diff --git a/rust-hdrhistogram.spec b/rust-hdrhistogram.spec index 61dfdb0..c573c6b 100644 --- a/rust-hdrhistogram.spec +++ b/rust-hdrhistogram.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 # * missing dev-dependencies: ieee754 ^0.2.2, rug ^1.2.0 %bcond_with check %global debug_package %{nil} @@ -14,6 +14,9 @@ Summary: Port of HdrHistogram to Rust License: MIT OR Apache-2.0 URL: https://crates.io/crates/hdrhistogram Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump base64 dependency from 0.21 to 0.22 +Patch: hdrhistogram-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/rust2rpm.toml b/rust2rpm.toml index e4c1660..b2509fe 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,3 +1,8 @@ +[package] +cargo-toml-patch-comments = [ + "bump base64 dependency from 0.21 to 0.22", +] + [tests] run = ["none"] comments = ["missing dev-dependencies: ieee754 ^0.2.2, rug ^1.2.0"]