|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
|
## (rpmautospec version 0.5.1)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 1;
|
|
|
|
@ -8,25 +8,22 @@
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
# * neither test files nor test code is included in published crates
|
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
|
|
%global crate dua-cli
|
|
|
|
|
|
|
|
|
|
Name: rust-dua-cli
|
|
|
|
|
Version: 2.20.1
|
|
|
|
|
Version: 2.20.3
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Tool to conveniently learn about the disk usage of directories
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/dua-cli
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * bump open dependency from 3.0 to 4.0
|
|
|
|
|
Patch: dua-cli-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 23
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
A tool to conveniently learn about the disk usage of directories, fast!.}
|
|
|
|
@ -36,12 +33,11 @@ A tool to conveniently learn about the disk usage of directories, fast!.}
|
|
|
|
|
%package -n %{crate}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
# Apache-2.0 OR MIT
|
|
|
|
|
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
|
|
|
|
|
# MIT
|
|
|
|
|
# MIT OR Apache-2.0
|
|
|
|
|
# MIT OR Apache-2.0 OR Zlib
|
|
|
|
|
# Zlib OR Apache-2.0 OR MIT
|
|
|
|
|
License: MIT AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib)
|
|
|
|
|
License: MIT AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib)
|
|
|
|
|
# LICENSE.dependencies contains a full license breakdown
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
@ -201,7 +197,7 @@ use the "unicode-segmentation" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
@ -209,7 +205,7 @@ use the "unicode-segmentation" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
%cargo_license_summary
|
|
|
|
|
%{cargo_license_summary}
|
|
|
|
|
%{cargo_license} > LICENSE.dependencies
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -221,6 +217,11 @@ use the "unicode-segmentation" feature of the "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Thu Jan 18 2024 Michel Lind <salimma@fedoraproject.org> - 2.20.3-1
|
|
|
|
|
- Update to 2.20.3
|
|
|
|
|
- Convert to rust2rpm.toml
|
|
|
|
|
|
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.20.1-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
@ -332,3 +333,4 @@ use the "unicode-segmentation" feature of the "%{crate}" crate.
|
|
|
|
|
* Mon Feb 24 20:18:39 EET 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 2.3.1-1
|
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|