diff --git a/displaydoc-fix-metadata.diff b/displaydoc-fix-metadata.diff new file mode 100644 index 0000000..7179123 --- /dev/null +++ b/displaydoc-fix-metadata.diff @@ -0,0 +1,11 @@ +--- displaydoc-0.2.5/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ displaydoc-0.2.5/Cargo.toml 2024-12-11T12:17:38.790823+00:00 +@@ -96,7 +96,7 @@ + default-features = false + + [dev-dependencies.pretty_assertions] +-version = "0.6.1" ++version = "1.4.0" + + [dev-dependencies.rustversion] + version = "1.0.0" diff --git a/rust-displaydoc.spec b/rust-displaydoc.spec index b72e3b3..1d147b0 100644 --- a/rust-displaydoc.spec +++ b/rust-displaydoc.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm 26 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate displaydoc @@ -12,6 +12,10 @@ Summary: Derive macro for implementing the display Trait License: MIT OR Apache-2.0 URL: https://crates.io/crates/displaydoc Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * Bump pretty_assertions dependency to 1.4.0: +# https://github.com/yaahc/displaydoc/pull/53 +Patch: displaydoc-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/rust2rpm.toml b/rust2rpm.toml index be8e5b2..2fd0d80 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,3 +1,5 @@ [package] summary = "Derive macro for implementing the display Trait" - +cargo-toml-patch-comments = [ + "Bump pretty_assertions dependency to 1.4.0: https://github.com/yaahc/displaydoc/pull/53", +]