## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 14; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 26 %bcond_without check %global crate dutree Name: rust-dutree Version: 0.2.18 Release: %autorelease Summary: Command line tool to analyze disk usage License: GPL-3.0-only URL: https://crates.io/crates/dutree Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * migrate away from deprecated GPL-3.0 SPDX identifier Patch: dutree-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Command line tool to analyze disk usage.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 OR MIT # GPL-3.0 # MIT OR Apache-2.0 # Unlicense OR MIT License: GPL-3.0-only AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/dutree %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/ %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 the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Nov 09 2024 Fabio Valentini - 0.2.18-14 - Migrate away from deprecated GPL-3.0 SPDX identifier * Fri Jul 19 2024 Fedora Release Engineering - 0.2.18-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 0.2.18-12 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Fri Jan 26 2024 Fedora Release Engineering - 0.2.18-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.2.18-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon May 22 2023 Fabio Valentini - 0.2.18-9 - Regenerate with rust2rpm v24 and update license tag * Sat Feb 04 2023 Fabio Valentini - 0.2.18-7 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros. * Fri Jan 20 2023 Fedora Release Engineering - 0.2.18-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.2.18-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.2.18-4 - Rebuild with package notes * 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 ## END: Generated by rpmautospec