From e63c25f3abfff8b42aa45797f9199a8559785fe4 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 25 May 2023 18:57:01 +0200 Subject: [PATCH] Bump derive_builder dependency from 0.11.1 to 0.12 --- cargo_metadata-fix-metadata.diff | 11 +++++++++++ rust-cargo_metadata.spec | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 cargo_metadata-fix-metadata.diff diff --git a/cargo_metadata-fix-metadata.diff b/cargo_metadata-fix-metadata.diff new file mode 100644 index 0000000..15ade71 --- /dev/null +++ b/cargo_metadata-fix-metadata.diff @@ -0,0 +1,11 @@ +--- cargo_metadata-0.15.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ cargo_metadata-0.15.4/Cargo.toml 2023-05-25T16:47:36.950773+00:00 +@@ -32,7 +32,7 @@ + version = "0.1.2" + + [dependencies.derive_builder] +-version = "0.11.1" ++version = "0.12" + optional = true + + [dependencies.semver] diff --git a/rust-cargo_metadata.spec b/rust-cargo_metadata.spec index 5b6c6b5..736a1ed 100644 --- a/rust-cargo_metadata.spec +++ b/rust-cargo_metadata.spec @@ -12,6 +12,10 @@ Summary: Structured access to the output of cargo metadata License: MIT URL: https://crates.io/crates/cargo_metadata Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump derive_builder dependency from 0.11.1 to 0.12: +# https://github.com/oli-obk/cargo_metadata/pull/230 +Patch: cargo_metadata-fix-metadata.diff BuildRequires: rust-packaging >= 21