diff --git a/clap-fix-metadata.diff b/clap-fix-metadata.diff index d7c5171..a141746 100644 --- a/clap-fix-metadata.diff +++ b/clap-fix-metadata.diff @@ -1,5 +1,5 @@ ---- clap-2.32.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ clap-2.32.0/Cargo.toml 2019-03-10T09:59:58.639109+01:00 +--- clap-2.32.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ clap-2.32.0/Cargo.toml 2019-04-05T07:42:51.956680+00:00 @@ -14,7 +14,7 @@ name = "clap" version = "2.32.0" @@ -18,3 +18,12 @@ optional = true [dependencies.term_size] +@@ -84,7 +84,7 @@ + optional = true + + [dependencies.textwrap] +-version = "0.10.0" ++version = "0.11" + + [dependencies.unicode-width] + version = "0.1.4" diff --git a/rust-clap.spec b/rust-clap.spec index 1047866..6aaae10 100644 --- a/rust-clap.spec +++ b/rust-clap.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 2.32.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Simple to use, efficient, and full featured Command Line Argument Parser License: MIT @@ -16,6 +16,7 @@ Source: %{crates_source} # Initial patched metadata # * Bump strsim to 0.8, https://github.com/clap-rs/clap/pull/1353 # * Exclude useless files +# * Bump textwrap to 0.11, https://github.com/clap-rs/clap/pull/1442 Patch0: clap-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,7 +26,7 @@ BuildRequires: (crate(ansi_term/default) >= 0.11.0 with crate(ansi_term/default BuildRequires: (crate(atty/default) >= 0.2.2 with crate(atty/default) < 0.3.0) BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0) BuildRequires: (crate(strsim/default) >= 0.8.0 with crate(strsim/default) < 0.9.0) -BuildRequires: (crate(textwrap/default) >= 0.10.0 with crate(textwrap/default) < 0.11.0) +BuildRequires: (crate(textwrap/default) >= 0.11.0 with crate(textwrap/default) < 0.12.0) BuildRequires: (crate(unicode-width/default) >= 0.1.4 with crate(unicode-width/default) < 0.2.0) BuildRequires: (crate(vec_map/default) >= 0.8.0 with crate(vec_map/default) < 0.9.0) %if %{with check} @@ -249,6 +250,9 @@ which use "yaml-rust" feature of "%{crate}" crate. %endif %changelog +* Fri Apr 05 09:42:52 CEST 2019 Igor Gnatenko - 2.32.0-9 +- Update textwrap to 0.11 + * Sun Mar 10 2019 Igor Gnatenko - 2.32.0-8 - Do not pull optional dependencies