From 82abed1f50491eb47b7187a947c6021511c41548 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Tue, 30 May 2023 12:04:12 -0500 Subject: [PATCH] Bump open dependency to 4.0 Signed-off-by: Michel Alexandre Salim --- dua-cli-fix-metadata.diff | 15 ++++++++++++--- rust-dua-cli.spec | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/dua-cli-fix-metadata.diff b/dua-cli-fix-metadata.diff index af4e606..3991edf 100644 --- a/dua-cli-fix-metadata.diff +++ b/dua-cli-fix-metadata.diff @@ -1,6 +1,15 @@ ---- dua-cli-2.17.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ dua-cli-2.17.8/Cargo.toml 2022-07-22T11:35:32.851196+00:00 -@@ -129,7 +129,3 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -78,7 +78,7 @@ version = "0.6.0" + version = "1.10.0" + + [dependencies.open] +-version = "3.0" ++version = "4.0" + optional = true + + [dependencies.petgraph] +@@ -129,7 +129,3 @@ tui-unix = [ "crosstermion/tui-react-termion", "tui-shared", ] diff --git a/rust-dua-cli.spec b/rust-dua-cli.spec index 9d9eb94..d13f43f 100644 --- a/rust-dua-cli.spec +++ b/rust-dua-cli.spec @@ -16,6 +16,7 @@ Source0: %{crates_source} Source1: LICENSE.dependencies # Initial patched metadata # * drop macos-specific dependencies +# * bump open from 3.0 to 4.0 Patch0: dua-cli-fix-metadata.diff ExclusiveArch: %{rust_arches}