From 5358b4db62ad2e584ed80333ee3ec33d0d31f754 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 20 Feb 2022 18:04:53 +0100 Subject: [PATCH] Update to 0.20.1 Signed-off-by: Igor Raits --- .gitignore | 13 +------------ gitui-fix-metadata.diff | 27 +++++++++++++++------------ rust-gitui.spec | 6 +++--- sources | 2 +- 4 files changed, 20 insertions(+), 28 deletions(-) diff --git a/.gitignore b/.gitignore index 1f7099f..e798783 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1 @@ -/gitui-0.4.0.crate -/gitui-0.5.0.crate -/gitui-0.6.0.crate -/gitui-0.7.0.crate -/gitui-0.8.0.crate -/gitui-0.8.1.crate -/gitui-0.9.0.crate -/gitui-0.9.1.crate -/gitui-0.10.0.crate -/gitui-0.11.0.crate -/gitui-0.13.0.crate -/gitui-0.16.2.crate +/gitui-*.crate diff --git a/gitui-fix-metadata.diff b/gitui-fix-metadata.diff index ec0d17f..f836323 100644 --- a/gitui-fix-metadata.diff +++ b/gitui-fix-metadata.diff @@ -1,29 +1,32 @@ ---- gitui-0.16.2/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ gitui-0.16.2/Cargo.toml 2022-02-13T16:05:32.616632+00:00 -@@ -62,7 +62,7 @@ +--- gitui-0.20.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ gitui-0.20.1/Cargo.toml 2022-02-20T17:11:21.192922+00:00 +@@ -63,7 +63,7 @@ version = "0.5" [dependencies.crossterm] --version = "0.19" +-version = "0.20" +version = "0.22" features = ["serde"] [dependencies.dirs-next] -@@ -111,7 +111,7 @@ +@@ -119,9 +119,8 @@ version = "0.14" [dependencies.tui] --version = "0.15" +-version = "0.16" +-features = ["crossterm", "serde"] +-default-features = false +version = "0.17" - features = ["crossterm", "serde"] - default-features = false ++features = ["serde"] -@@ -131,9 +131,5 @@ - timing = ["scopetime/enabled"] + [dependencies.unicode-segmentation] + version = "1.8" +@@ -141,9 +140,5 @@ + trace-libgit = ["asyncgit/trace-libgit"] [target."cfg(all(target_family=\"unix\",not(target_os=\"macos\")))".dependencies.which] - version = "4.1" + version = "4.2" -[target."cfg(not(windows))".dependencies.pprof] --version = "0.4" +-version = "=0.6.1" -features = ["flamegraph"] -optional = true [badges.maintenance] diff --git a/rust-gitui.spec b/rust-gitui.spec index cdabc44..9494f8d 100644 --- a/rust-gitui.spec +++ b/rust-gitui.spec @@ -4,7 +4,7 @@ %global crate gitui Name: rust-%{crate} -Version: 0.16.2 +Version: 0.20.1 Release: %autorelease Summary: Blazing fast terminal-ui for git @@ -13,8 +13,8 @@ License: MIT URL: https://crates.io/crates/gitui Source: %{crates_source} # Initial patched metadata -# * bump crossterm from 0.19 to 0.22 -# * bump tui from 0.15 to 0.17 +# * bump crossterm from 0.20 to 0.22 +# * bump tui from 0.16 to 0.17 # * drop unused optional pprof dependency Patch0: gitui-fix-metadata.diff diff --git a/sources b/sources index e9d033a..30ce964 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gitui-0.16.2.crate) = ad7e4082d5cb725dfe04bbf2bd2680d6f0ba70a436ad6831684678b39e0a7e2336e653d25bbe7a90aafe1fb861ac3b5e50e5e9fd473eb2c75726bef193c77643 +SHA512 (gitui-0.20.1.crate) = ccc35b953dcf69dd745fe492df42249964d10fee1a3d33dee104864927e8fef497f6beaf23bcdc1ab149497204fbb91d1bad8e633d346a6bc1de49f5186a84eb