From 0a4313d8314e35b20939d63caceebda84b2199f7 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 23 Aug 2021 11:52:16 +0200 Subject: [PATCH] bump tui, tui-react, and crosstermion versions --- dua-cli-fix-metadata.diff | 26 ++++++++++++++++++++++++++ rust-dua-cli.spec | 21 ++++++++++++--------- 2 files changed, 38 insertions(+), 9 deletions(-) create mode 100644 dua-cli-fix-metadata.diff diff --git a/dua-cli-fix-metadata.diff b/dua-cli-fix-metadata.diff new file mode 100644 index 0000000..f535d2b --- /dev/null +++ b/dua-cli-fix-metadata.diff @@ -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] diff --git a/rust-dua-cli.spec b/rust-dua-cli.spec index aba77db..e645426 100644 --- a/rust-dua-cli.spec +++ b/rust-dua-cli.spec @@ -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 - 2.11.1-4 +- Bump tui, tui-react, and crosstermion versions. + * Sat Aug 07 2021 Fabio Valentini - 2.11.1-3 - Rebuild with crossbeam-deque 0.8.1 / 0.7.4 for CVE-2021-32810