From a63b434321d919b868d68bb83e3af6232bcac135 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 19 Feb 2023 22:26:09 +0100 Subject: [PATCH] Relax indexmap dev-dependency from <=1.8 to ^1 --- http-fix-metadata.diff | 11 +++++++++++ rust-http.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 http-fix-metadata.diff diff --git a/http-fix-metadata.diff b/http-fix-metadata.diff new file mode 100644 index 0000000..99b4ffa --- /dev/null +++ b/http-fix-metadata.diff @@ -0,0 +1,11 @@ +--- http-0.2.9/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ http-0.2.9/Cargo.toml 2023-02-19T21:22:10.182469+00:00 +@@ -42,7 +42,7 @@ + version = "0.3" + + [dev-dependencies.indexmap] +-version = "<=1.8" ++version = "1" + + [dev-dependencies.quickcheck] + version = "0.9.0" diff --git a/rust-http.spec b/rust-http.spec index 0468f38..9112e6d 100644 --- a/rust-http.spec +++ b/rust-http.spec @@ -12,6 +12,9 @@ Summary: Set of types for representing HTTP requests and responses License: MIT OR Apache-2.0 URL: https://crates.io/crates/http Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * relax indexmap dev-dependency from <=1.8 to ^1 +Patch: http-fix-metadata.diff BuildRequires: rust-packaging >= 21