# Generated by rust2rpm 27 %bcond check 1 %global crate navi %global _trivial .0 %global _buildid .1 %global __brp_mangle_shebangs /usr/bin/true Name: rust-navi Version: 2.20.1 Release: 1%{?dist}%{?_trivial}%{?_buildid} Summary: Interactive cheatsheet tool for the command-line License: Apache-2.0 URL: https://crates.io/crates/navi Source: %{name}-%{version}-processed.tar.gz # Manually created patch for downstream crate metadata changes # * bump crossterm dependency from 0.23 to 0.28 BuildRequires: rust-toolset BuildRequires: openssl-devel %global _description %{expand: An interactive cheatsheet tool for the command-line.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # CC0-1.0 # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: Apache-2.0 AND CC0-1.0 AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown Requires: fzf %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/navi %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep -v vendor %build export OPENSSL_NO_VENDOR=1 %cargo_build %{cargo_license_summary} %{cargo_vendor_manifest} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Jul 03 2026 AL2023 rebuild - %{version}-1 - AL2023 rust-toolset vendored binary build