From 6633cbbf5daa54d975f572fc98006e36775fffcc Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 19 Jan 2023 12:28:57 -0600 Subject: [PATCH] Update to 0.6.3 Signed-off-by: Michel Alexandre Salim --- .gitignore | 1 + below-view-fix-metadata.diff | 18 ++++++++++++------ rust-below-view.spec | 22 +++++++++++----------- sources | 2 +- 4 files changed, 25 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 0664b29..eb12196 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /below-view-0.4.1.crate /below-view-0.5.0.crate +/below-view-0.6.3.crate diff --git a/below-view-fix-metadata.diff b/below-view-fix-metadata.diff index 6da5c3b..bb55ee3 100644 --- a/below-view-fix-metadata.diff +++ b/below-view-fix-metadata.diff @@ -1,19 +1,25 @@ ---- below-view-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ below-view-0.5.0/Cargo.toml 2022-06-01T14:58:18.971132+00:00 -@@ -30,7 +30,7 @@ +--- below-view-0.6.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ below-view-0.6.3/Cargo.toml 2023-01-20T03:21:26.579710+00:00 +@@ -39,11 +39,11 @@ package = "below-common" [dependencies.crossterm] --version = "0.20.0" -+version = "0.22.0" +-version = "0.23.1" ++version = "0.25.0" features = ["event-stream"] [dependencies.cursive] -@@ -74,6 +74,6 @@ +-version = "0.19.0" ++version = "0.20.0" + features = ["crossterm-backend"] + default-features = false + +@@ -89,7 +89,7 @@ package = "below-store" [dependencies.toml] -version = "=0.5.8" +version = "0.5.8" + [dev-dependencies.tempdir] version = "0.3" diff --git a/rust-below-view.spec b/rust-below-view.spec index 8cb7f32..d36ae00 100644 --- a/rust-below-view.spec +++ b/rust-below-view.spec @@ -1,24 +1,23 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate below-view -Name: rust-%{crate} -Version: 0.5.0 +Name: rust-below-view +Version: 0.6.3 Release: %autorelease Summary: View crate for below -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: https://crates.io/crates/below-view Source: %{crates_source} -# Initial patched metadata -# * bump crossterm from 0.20 to 0.22 -# * relax toml dependency from =0.5.8 to ^0.5.8 -Patch0: below-view-fix-metadata.diff +# Manually created patch for downstream crate metadata changes +# * bump crossterm from 0.23.1 to 0.25.0 +# * bump cursive from 0.19.0 to 0.20.0 +# * relax toml dependency from =0.5.8 to 0.5.8 -ExclusiveArch: %{rust_arches} +Patch: below-view-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -67,7 +66,8 @@ use the "default" feature of the "%{crate}" crate. %if %{with check} %check -%cargo_test +# some overrides are failing; see https://github.com/facebookincubator/below/pull/8177 +%cargo_test -- -- --skip controllers::test::test_event_controller_override %endif %changelog diff --git a/sources b/sources index edb4c3b..5d683ca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (below-view-0.5.0.crate) = 28b829444bc18be556c2805da80e84d4b7df7eb48c6ae96cfdc47501bc60fd1597f5e8e710a4b0b3af206c0ef48b1946122c6598aec4cfdd524099087dcb3b8e +SHA512 (below-view-0.6.3.crate) = b0f634a7e5e2d5340a6ec3fa7a1df697941dc94cdf55feb7c599f4f89026aece2dcba0de7ebb35179f876c69ebc85f2218cf98228ce07196a017049042a9d5d5