# Generated by rust2rpm 17 %bcond_without check %global crate dutree Name: rust-%{crate} Version: 0.2.18 Release: 3%{?dist} Summary: Command line tool to analyze disk usage # Upstream license specification: GPL-3.0 License: GPLv3 URL: https://crates.io/crates/dutree Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Command line tool to analyze disk usage.} %description %{_description} %if ! %{__cargo_skip_build} %package -n %{crate} Summary: %{summary} # ASL 2.0 or MIT # GPLv3 # MIT or ASL 2.0 # Unlicense or MIT License: GPLv3 and (MIT or ASL 2.0) and (Unlicense or MIT) %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %doc README.md %{_bindir}/dutree %endif %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Jan 21 2022 Fedora Release Engineering - 0.2.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.2.18-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 10 2021 Fabio Valentini - 0.2.18-1 - Update to version 0.2.18. - Fixes RHBZ#1958696 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.2.16-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 01 2020 Randy Barlow - 0.2.16-2 - Correct the license to reflect the bundled libraries. * Thu Jun 04 2020 Josh Stone - 0.2.16-1 - Update to 0.2.16 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 18 13:13:23 CET 2019 Igor Gnatenko - 0.2.15-1 - Update to 0.2.15 * Wed Oct 23 09:04:32 CEST 2019 Igor Gnatenko - 0.2.13-1 - Update to 0.2.13 * Thu Sep 26 13:10:01 CEST 2019 Igor Gnatenko - 0.2.11-1 - Update to 0.2.11 * Thu Sep 05 04:51:51 CEST 2019 Igor Gnatenko - 0.2.9-1 - Initial package