From 1cf41483b53961f5fb004b24c379b5926fd22ab5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: May 02 2018 14:02:32 +0000 Subject: Bump textwrap to 0.10 Signed-off-by: Igor Gnatenko --- diff --git a/clap-2.30.0-fix-metadata.diff b/clap-2.30.0-fix-metadata.diff deleted file mode 100644 index 191586f..0000000 --- a/clap-2.30.0-fix-metadata.diff +++ /dev/null @@ -1,21 +0,0 @@ ---- clap-2.30.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ clap-2.30.0/Cargo.toml 2018-02-15T15:06:52.262746+01:00 -@@ -69,10 +69,6 @@ - [dependencies.bitflags] - version = "1.0" - --[dependencies.clippy] --version = "~0.0.166" --optional = true -- - [dependencies.strsim] - version = "0.7.0" - optional = true -@@ -108,7 +104,6 @@ - debug = [] - default = ["suggestions", "color", "vec_map"] - doc = ["yaml"] --lints = ["clippy"] - nightly = [] - no_cargo = [] - suggestions = ["strsim"] diff --git a/clap-2.31.2-fix-metadata.diff b/clap-2.31.2-fix-metadata.diff new file mode 100644 index 0000000..615efec --- /dev/null +++ b/clap-2.31.2-fix-metadata.diff @@ -0,0 +1,30 @@ +--- clap-2.31.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ clap-2.31.2/Cargo.toml 2018-05-02T16:01:56.171745+02:00 +@@ -71,10 +71,6 @@ + [dependencies.bitflags] + version = "1.0" + +-[dependencies.clippy] +-version = "~0.0.166" +-optional = true +- + [dependencies.strsim] + version = "0.7.0" + optional = true +@@ -84,7 +80,7 @@ + optional = true + + [dependencies.textwrap] +-version = "0.9.0" ++version = "0.10" + + [dependencies.unicode-width] + version = "0.1.4" +@@ -110,7 +106,6 @@ + debug = [] + default = ["suggestions", "color", "vec_map"] + doc = ["yaml"] +-lints = ["clippy"] + nightly = [] + no_cargo = [] + suggestions = ["strsim"] diff --git a/rust-clap.spec b/rust-clap.spec index 1624930..dacfe1b 100644 --- a/rust-clap.spec +++ b/rust-clap.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 2.31.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple to use, efficient, and full featured Command Line Argument Parser License: MIT @@ -14,7 +14,8 @@ URL: https://crates.io/crates/clap Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * clippy is nightly -Patch0: clap-2.30.0-fix-metadata.diff +# * Bump textwrap to 0.10, https://github.com/kbknapp/clap-rs/pull/1267 +Patch0: clap-2.31.2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,7 +26,7 @@ BuildRequires: (crate(atty) >= 0.2.2 with crate(atty) < 0.3.0) BuildRequires: (crate(bitflags) >= 1.0.0 with crate(bitflags) < 2.0.0) BuildRequires: (crate(strsim) >= 0.7.0 with crate(strsim) < 0.8.0) BuildRequires: (crate(term_size) >= 0.3.0 with crate(term_size) < 0.4.0) -BuildRequires: (crate(textwrap) >= 0.9.0 with crate(textwrap) < 0.10.0) +BuildRequires: (crate(textwrap) >= 0.10.0 with crate(textwrap) < 0.11.0) BuildRequires: (crate(unicode-width) >= 0.1.4 with crate(unicode-width) < 0.2.0) BuildRequires: (crate(vec_map) >= 0.8.0 with crate(vec_map) < 0.9.0) BuildRequires: (crate(yaml-rust) >= 0.3.5 with crate(yaml-rust) < 0.4.0) @@ -71,6 +72,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{index.html,justfile} %changelog +* Wed May 02 2018 Igor Gnatenko - 2.31.2-2 +- Bump textwrap to 0.10 + * Mon Mar 26 2018 Josh Stone - 2.31.2-1 - Update to 2.31.2