From 17c01580c8cf887c5fa1e29435cc711ececa466a Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mon, 6 Mar 2023 13:09:42 -0600 Subject: [PATCH] Lower minimum version of assert_cmd to 2.0.4 (2.0.8 needs cargo2rpm, 2.0.5 was never packaged) - rebuild against libmimalloc-sys 0.1.30 Signed-off-by: Michel Alexandre Salim --- difftastic-fix-metadata.diff | 4 ++-- rust-difftastic.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/difftastic-fix-metadata.diff b/difftastic-fix-metadata.diff index 1f88901..ed88433 100644 --- a/difftastic-fix-metadata.diff +++ b/difftastic-fix-metadata.diff @@ -1,5 +1,5 @@ --- difftastic-0.45.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ difftastic-0.45.0/Cargo.toml 2023-03-04T01:43:23.932141+00:00 ++++ difftastic-0.45.0/Cargo.toml 2023-03-06T18:55:43.980782+00:00 @@ -56,7 +56,7 @@ version = "0.2.108" @@ -14,7 +14,7 @@ version = "0.1.2" [dev-dependencies.assert_cmd] -version = "=2.0.5" -+version = "2.0.5" ++version = "2.0.4" [dev-dependencies.predicates] -version = "=2.1.1" diff --git a/rust-difftastic.spec b/rust-difftastic.spec index 4da2486..249006c 100644 --- a/rust-difftastic.spec +++ b/rust-difftastic.spec @@ -12,7 +12,7 @@ License: MIT URL: https://crates.io/crates/difftastic Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * unpin assert_cmd +# * unpin assert_cmd and downgrade to 2.0.4 that is in EPEL 9 # * unpin libmimalloc-sys # * unpin predicates Patch: difftastic-fix-metadata.diff