You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
259 lines
7.8 KiB
259 lines
7.8 KiB
# Generated by rust2rpm 17
|
|
# * The test code is not shipped, but even if it would - the testing parts
|
|
# are missing too.
|
|
%bcond_with check
|
|
|
|
%global crate dua-cli
|
|
|
|
Name: rust-%{crate}
|
|
Version: 2.11.1
|
|
Release: 2%{?dist}
|
|
Summary: Tool to conveniently learn about the disk usage of directories
|
|
|
|
# Upstream license specification: MIT
|
|
License: MIT
|
|
URL: https://crates.io/crates/dua-cli
|
|
Source: %{crates_source}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
%if %{__cargo_skip_build}
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%global _description %{expand:
|
|
Tool to conveniently learn about the disk usage of directories, fast!.}
|
|
|
|
%description %{_description}
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
%package -n %{crate}
|
|
Summary: %{summary}
|
|
# ASL 2.0 or MIT
|
|
# BSD
|
|
# MIT
|
|
# MIT or ASL 2.0
|
|
# MPLv2.0
|
|
# Unlicense or MIT
|
|
License: MIT and BSD and MPLv2.0
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
%files -n %{crate}
|
|
%license LICENSE
|
|
%doc README.md CHANGELOG.md
|
|
%{_bindir}/dua
|
|
%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 CHANGELOG.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
|
|
|
|
%package -n %{name}+crosstermion-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+crosstermion-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "crosstermion" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+crosstermion-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+open-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+open-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "open" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+open-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+tui-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+tui-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "tui" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+tui-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+tui-crossplatform-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+tui-crossplatform-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "tui-crossplatform" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+tui-crossplatform-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+tui-react-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+tui-react-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "tui-react" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+tui-react-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+tui-shared-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+tui-shared-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "tui-shared" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+tui-shared-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+tui-unix-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+tui-unix-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "tui-unix" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+tui-unix-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+unicode-segmentation-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+unicode-segmentation-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "unicode-segmentation" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+unicode-segmentation-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
|
|
# https://github.com/Byron/dua-cli/issues/39
|
|
%cargo_test -- -- --skip interactive::app_test::journeys_with_writes::basic_user_journey_with_deletion \
|
|
--skip interactive::app_test::journeys_readonly::simple_user_journey_read_only \
|
|
--skip interactive::app_test::unit::it_can_handle_ending_traversal_without_reaching_the_top \
|
|
--skip interactive::app_test::unit::it_can_handle_ending_traversal_reaching_top_but_skipping_levels
|
|
%endif
|
|
|
|
%changelog
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-2
|
|
- Second attempt - Rebuilt for
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Tue Feb 23 2021 Fabio Valentini <decathorpe@gmail.com> - 2.11.1-1
|
|
- Update to version 2.11.1.
|
|
- Fixes RHBZ#1919501
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.9-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Sun Jan 10 19:45:05 CET 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.10.9-1
|
|
- Update to 2.10.9 (Fixes: RHBZ#1912188)
|
|
|
|
* Mon Dec 28 13:29:36 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.10.7-2
|
|
- Rebuild
|
|
|
|
* Fri Dec 25 11:55:17 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.10.7-1
|
|
- Update to 2.10.7
|
|
|
|
* Sun Aug 16 15:01:11 GMT 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.8.2-4
|
|
- Rebuild
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-3
|
|
- Second attempt - Rebuilt for
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Thu Jul 02 09:59:22 EEST 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 2.8.2-1
|
|
- Update to 2.8.2
|
|
|
|
* Sun May 31 13:57:22 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.6.1-1
|
|
- Update to 2.6.1
|
|
|
|
* Sun May 10 14:35:34 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.6.0-1
|
|
- Update to 2.6.0
|
|
|
|
* Wed Apr 08 2020 Josh Stone <jistone@redhat.com> - 2.5.0-1
|
|
- Update to 2.5.0
|
|
|
|
* Mon Mar 30 08:19:56 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.4.1-1
|
|
- Update to 2.4.1
|
|
|
|
* Fri Mar 27 15:15:21 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.3.9-1
|
|
- Update to 2.3.9
|
|
|
|
* Thu Mar 26 08:32:46 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.3.8-1
|
|
- Update to 2.3.8
|
|
|
|
* Tue Mar 17 16:47:38 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.3.6-1
|
|
- Update to 2.3.6
|
|
|
|
* Sun Mar 15 18:07:16 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.3.5-1
|
|
- Update to 2.3.5
|
|
|
|
* Sun Mar 15 09:14:52 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.3.3-1
|
|
- Update to 2.3.3
|
|
|
|
* Tue Feb 25 02:05:44 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.3.2-1
|
|
- Update to 2.3.2
|
|
|
|
* Mon Feb 24 20:18:39 EET 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 2.3.1-1
|
|
- Initial package
|