Bump crossterm from 0.19 to 0.22, bump tui from 0.15 to 0.17

This commit is contained in:
Fabio Valentini 2022-02-13 17:06:41 +01:00
parent f35933f8f4
commit 8452d677f8
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
2 changed files with 37 additions and 3 deletions

30
gitui-fix-metadata.diff Normal file
View File

@ -0,0 +1,30 @@
--- 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 @@
version = "0.5"
[dependencies.crossterm]
-version = "0.19"
+version = "0.22"
features = ["serde"]
[dependencies.dirs-next]
@@ -111,7 +111,7 @@
version = "0.14"
[dependencies.tui]
-version = "0.15"
+version = "0.17"
features = ["crossterm", "serde"]
default-features = false
@@ -131,9 +131,5 @@
timing = ["scopetime/enabled"]
[target."cfg(all(target_family=\"unix\",not(target_os=\"macos\")))".dependencies.which]
version = "4.1"
-[target."cfg(not(windows))".dependencies.pprof]
-version = "0.4"
-features = ["flamegraph"]
-optional = true
[badges.maintenance]
status = "actively-developed"

View File

@ -1,6 +1,5 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 20
%bcond_without check
%global __cargo_skip_build 0
%global crate gitui
@ -13,6 +12,11 @@ Summary: Blazing fast terminal-ui for git
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
# * drop unused optional pprof dependency
Patch0: gitui-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -41,7 +45,7 @@ License: MIT and ASL 2.0 and BSD
%files -n %{crate}
%license LICENSE.md
%doc THEMES.md README.md KEY_CONFIG.md CHANGELOG.md
%doc CHANGELOG.md KEY_CONFIG.md README.md THEMES.md
%{_bindir}/gitui
%prep