# Generated by rust2rpm 28 # * neither test files nor test code is included in published crates %bcond check 0 %global crate dua-cli %global _trivial .0 %global _buildid .1 %global __brp_mangle_shebangs /usr/bin/true Name: rust-dua-cli Version: 2.34.0 Release: 1%{?dist}%{?_trivial}%{?_buildid} Summary: Tool to conveniently learn about the disk usage of directories License: MIT URL: https://crates.io/crates/dua-cli Source: %{name}-%{version}-processed.tar.gz # Manually created patch for downstream crate metadata changes # * bump gix-glob dependency to 0.26 # * bump gix-path dependency to 0.12 # * relax trash dependency to >=3,<6 # * drop atty dependency to use stdlib instead BuildRequires: rust-toolset BuildRequires: openssl-devel %global _description %{expand: A tool to conveniently learn about the disk usage of directories, fast!.} %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 # MIT # MIT OR Apache-2.0 # MIT OR Zlib OR Apache-2.0 # Unicode-3.0 # Unlicense OR MIT # Zlib License: %{shrink: MIT AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND Zlib } # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %license cargo-vendor.txt %doc CHANGELOG.md %doc README.md %{_bindir}/dua %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