# Generated by rust2rpm 28 %bcond check 1 %global crate eza %global _trivial .0 %global _buildid .1 %global __brp_mangle_shebangs /usr/bin/true Name: rust-eza Version: 0.23.4 Release: 1%{?dist}%{?_trivial}%{?_buildid} Summary: Modern replacement for ls License: EUPL-1.2 URL: https://crates.io/crates/eza Source: %{name}-%{version}-processed.tar.gz # Manually created patch for downstream crate metadata changes # * temporarily downgrade palette dependency from 0.7.6 to 0.7.5 # * temporarily downgrade uutils_term_grid dependency from 0.7.0 to 0.6.0 # * temporarily downgrade unicode-width dependency from 0.2.0 to 0.1.0 # * temporarily increase palette dependency from 0.12.1 to 0.13.1 # * drop feature for statically linking with OpenSSL and libgit2 # * drop unused, benchmark-only criterion dev-dependency # * drop unused, benchmark-only trycmd dev-dependency # * drop features that are specific to NixOS packaging # * drop features that are specific to powertest # * exclude files that are only useful for upstream development BuildRequires: rust-toolset BuildRequires: openssl-devel BuildRequires: pandoc %global _description %{expand: A modern replacement for ls.} %description %{_description} %package -n %{crate} Summary: %{summary} # 0BSD OR MIT OR 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 # EUPL-1.2 # MIT # MIT OR Apache-2.0 # (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT # MIT OR Zlib OR Apache-2.0 # MPL-2.0 # Unicode-3.0 # Unlicense OR MIT License: EUPL-1.2 # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.txt %license LICENSES/CC-BY-4.0.txt %license LICENSES/EUPL-1.2.txt %license LICENSES/MIT.txt %license LICENSE.dependencies %license cargo-vendor.txt %doc CHANGELOG.md %doc CODE_OF_CONDUCT.md %doc CONTRIBUTING.md %doc INSTALL.md %doc README.md %doc SECURITY.md %doc TESTING.md %{_bindir}/eza %{bash_completions_dir}/eza %{fish_completions_dir}/eza.fish %{zsh_completions_dir}/_eza %{_mandir}/man1/eza.1* %{_mandir}/man5/eza_colors.5* %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 for man in eza.1 eza_colors.5 ; do pandoc --standalone -f markdown -t man man/$man.md > man/$man done %install %cargo_install # install shell completions install -Dpm 0644 completions/bash/eza -t %{buildroot}/%{bash_completions_dir}/ install -Dpm 0644 completions/fish/eza.fish -t %{buildroot}/%{fish_completions_dir}/ install -Dpm 0644 completions/zsh/_eza -t %{buildroot}/%{zsh_completions_dir}/ # install mans install -Dpm 0644 man/eza.1 -t %{buildroot}/%{_mandir}/man1 install -Dpm 0644 man/eza_colors.5 -t %{buildroot}/%{_mandir}/man5 %if %{with check} %check %cargo_test %endif %changelog * Fri Jul 03 2026 AL2023 rebuild - %{version}-1 - AL2023 rust-toolset vendored binary build