From 68216ff52bbb6984c49ba6e452a425c1717931be Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 25 Feb 2022 16:04:12 +0100 Subject: [PATCH] Revert broken conditional patch application for crossterm 0.22 --- rust-below-view.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rust-below-view.spec b/rust-below-view.spec index d356d33..e1c02ab 100644 --- a/rust-below-view.spec +++ b/rust-below-view.spec @@ -13,7 +13,8 @@ Summary: View crate for below License: ASL 2.0 URL: https://crates.io/crates/below-view Source: %{crates_source} -# use crossterm 0.22 on F36+ +# Initial patched metadata +# * bump crossterm from 0.20 to 0.22 Patch0: below-view-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -51,10 +52,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep -%setup -q -n %{crate}-%{version_no_tilde} -%if 0%{?fedora} >= 36 -%patch0 -p1 -%endif +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires