diff --git a/gitui-fix-metadata.diff b/gitui-fix-metadata.diff new file mode 100644 index 0000000..ec0d17f --- /dev/null +++ b/gitui-fix-metadata.diff @@ -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" diff --git a/rust-gitui.spec b/rust-gitui.spec index e0f9b91..cdabc44 100644 --- a/rust-gitui.spec +++ b/rust-gitui.spec @@ -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