bump tui, tui-react, and crosstermion versions

This commit is contained in:
Fabio Valentini 2021-08-23 11:52:16 +02:00
parent f105628e7b
commit 0a4313d831
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
2 changed files with 38 additions and 9 deletions

26
dua-cli-fix-metadata.diff Normal file
View File

@ -0,0 +1,26 @@
--- dua-cli-2.11.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ dua-cli-2.11.1/Cargo.toml 2021-08-23T09:45:50.357053+00:00
@@ -52,7 +52,7 @@
version = "2.0.0"
[dependencies.crosstermion]
-version = "0.6.0"
+version = "0.7.0"
optional = true
default-features = false
@@ -76,12 +76,12 @@
version = "0.5"
[dependencies.tui]
-version = "0.14.0"
+version = "0.15.0"
optional = true
default-features = false
[dependencies.tui-react]
-version = "0.14"
+version = "0.15"
optional = true
[dependencies.unicode-segmentation]

View File

@ -1,19 +1,23 @@
# Generated by rust2rpm 17
# * The test code is not shipped, but even if it would - the testing parts
# are missing too.
# Generated by rust2rpm 18
# * neither test files nor test code is included in published crates
%bcond_with check
%global crate dua-cli
Name: rust-%{crate}
Version: 2.11.1
Release: 3%{?dist}
Release: 4%{?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}
# Initial patched metadata
# * bump crosstermion from 0.6 to 0.7
# * bump tui from 0.14 to 0.15
# * bump tui-react from 0.14 to 0.15
Patch0: dua-cli-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@ -183,14 +187,13 @@ which use "unicode-segmentation" feature of "%{crate}" crate.
%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
%cargo_test
%endif
%changelog
* Mon Aug 23 2021 Fabio Valentini <decathorpe@gmail.com> - 2.11.1-4
- Bump tui, tui-react, and crosstermion versions.
* Sat Aug 07 2021 Fabio Valentini <decathorpe@gmail.com> - 2.11.1-3
- Rebuild with crossbeam-deque 0.8.1 / 0.7.4 for CVE-2021-32810