diff --git a/rust-walkdir.spec b/rust-walkdir.spec index bf8e22f..90d966c 100644 --- a/rust-walkdir.spec +++ b/rust-walkdir.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 2.1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Recursively walk a directory License: Unlicense or MIT @@ -14,7 +14,8 @@ URL: https://crates.io/crates/walkdir Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows -Patch0: walkdir-2.1.3-fix-metadata.diff +# * Bump docopt to 1, https://github.com/BurntSushi/walkdir/pull/105 +Patch0: walkdir-2.1.4-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -23,7 +24,7 @@ BuildRequires: rust-packaging BuildRequires: (crate(same-file) >= 1.0.0 with crate(same-file) < 2.0.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(docopt) >= 0.8.0 with crate(docopt) < 0.9.0) +BuildRequires: (crate(docopt) >= 1.0.0 with crate(docopt) < 2.0.0) BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0) BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) @@ -65,6 +66,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,appveyor.yml,compare,ctags.rust,session.vim} %changelog +* Thu Jun 14 2018 Igor Gnatenko - 2.1.4-2 +- Bump docopt to 1 + * Wed Feb 21 2018 Josh Stone - 2.1.4-1 - Update to 2.1.4 diff --git a/walkdir-2.1.3-fix-metadata.diff b/walkdir-2.1.3-fix-metadata.diff deleted file mode 100644 index 6a5beb5..0000000 --- a/walkdir-2.1.3-fix-metadata.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- walkdir-2.1.3/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ walkdir-2.1.3/Cargo.toml 2018-02-02T15:00:33.636646+01:00 -@@ -39,9 +39,6 @@ - - [dev-dependencies.serde_derive] - version = "1" --[target."cfg(windows)".dependencies.winapi] --version = "0.3" --features = ["std", "winnt"] - [badges.appveyor] - repository = "BurntSushi/walkdir" - diff --git a/walkdir-2.1.4-fix-metadata.diff b/walkdir-2.1.4-fix-metadata.diff new file mode 100644 index 0000000..12393c6 --- /dev/null +++ b/walkdir-2.1.4-fix-metadata.diff @@ -0,0 +1,21 @@ +--- walkdir-2.1.4/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ walkdir-2.1.4/Cargo.toml 2018-06-14T08:27:53.392735+02:00 +@@ -25,7 +25,7 @@ + [dependencies.same-file] + version = "1" + [dev-dependencies.docopt] +-version = "0.8" ++version = "1" + + [dev-dependencies.quickcheck] + version = "0.6" +@@ -39,9 +39,6 @@ + + [dev-dependencies.serde_derive] + version = "1" +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["std", "winnt"] + [badges.appveyor] + repository = "BurntSushi/walkdir" +