diff --git a/clap-2.31.2-fix-metadata.diff b/clap-2.31.2-fix-metadata.diff index 615efec..190b411 100644 --- a/clap-2.31.2-fix-metadata.diff +++ b/clap-2.31.2-fix-metadata.diff @@ -1,5 +1,5 @@ --- 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 ++++ clap-2.31.2/Cargo.toml 2018-06-14T07:56:30.983148+02:00 @@ -71,10 +71,6 @@ [dependencies.bitflags] version = "1.0" @@ -20,6 +20,15 @@ [dependencies.unicode-width] version = "0.1.4" +@@ -100,7 +96,7 @@ + version = "1" + + [dev-dependencies.regex] +-version = "0.2" ++version = "1" + + [dev-dependencies.version-sync] + version = "0.5" @@ -110,7 +106,6 @@ debug = [] default = ["suggestions", "color", "vec_map"] diff --git a/rust-clap.spec b/rust-clap.spec index dacfe1b..694a64c 100644 --- a/rust-clap.spec +++ b/rust-clap.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 2.31.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple to use, efficient, and full featured Command Line Argument Parser License: MIT @@ -15,6 +15,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ # Initial patched metadata # * clippy is nightly # * Bump textwrap to 0.10, https://github.com/kbknapp/clap-rs/pull/1267 +# * Bump regex to 1 Patch0: clap-2.31.2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -33,7 +34,7 @@ BuildRequires: (crate(yaml-rust) >= 0.3.5 with crate(yaml-rust) < 0.4.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) -BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0) +BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0) BuildRequires: (crate(version-sync) >= 0.5.0 with crate(version-sync) < 0.6.0) %endif @@ -72,6 +73,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{index.html,justfile} %changelog +* Thu Jun 14 2018 Igor Gnatenko - 2.31.2-3 +- Bump regex to 1 + * Wed May 02 2018 Igor Gnatenko - 2.31.2-2 - Bump textwrap to 0.10