From 0fbda34a632d8796303ba97caceb44c8393db28d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 13 Feb 2022 16:41:11 +0100 Subject: [PATCH] Bump crossterm from 0.20 to 0.22 --- below-view-fix-metadata.diff | 11 +++++++++++ rust-below-view.spec | 16 ++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 below-view-fix-metadata.diff diff --git a/below-view-fix-metadata.diff b/below-view-fix-metadata.diff new file mode 100644 index 0000000..2fba64c --- /dev/null +++ b/below-view-fix-metadata.diff @@ -0,0 +1,11 @@ +--- below-view-0.4.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ below-view-0.4.1/Cargo.toml 2022-02-13T15:36:45.107215+00:00 +@@ -30,7 +30,7 @@ + package = "below-common" + + [dependencies.crossterm] +-version = "0.20.0" ++version = "0.22.0" + features = ["event-stream"] + + [dependencies.cursive] diff --git a/rust-below-view.spec b/rust-below-view.spec index dfac048..e610a87 100644 --- a/rust-below-view.spec +++ b/rust-below-view.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} @@ -13,11 +13,11 @@ Summary: View crate for below License: ASL 2.0 URL: https://crates.io/crates/below-view Source: %{crates_source} +# Initial patched metadata +# * bump crossterm from 0.20 to 0.22 +Patch0: below-view-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,8 +32,8 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE @@ -45,8 +45,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml