|
|
@ -13,7 +13,8 @@ Summary: View crate for below
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://crates.io/crates/below-view
|
|
|
|
URL: https://crates.io/crates/below-view
|
|
|
|
Source: %{crates_source}
|
|
|
|
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
|
|
|
|
Patch0: below-view-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
@ -51,10 +52,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{crate}-%{version_no_tilde}
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%if 0%{?fedora} >= 36
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|