diff --git a/rust-syn.spec b/rust-syn.spec index a056ec5..e580dd9 100644 --- a/rust-syn.spec +++ b/rust-syn.spec @@ -13,9 +13,6 @@ Summary: Nom parser for Rust source code License: MIT or ASL 2.0 URL: https://crates.io/crates/syn Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate -# Initial patched metadata -# * Bump walkdir to 2, https://github.com/dtolnay/syn/pull/371 -Patch0: syn-0.12.14-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -27,7 +24,7 @@ BuildRequires: (crate(unicode-xid) >= 0.1.0 with crate(unicode-xid) < 0.2.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(rayon) >= 1.0.0 with crate(rayon) < 2.0.0) -BuildRequires: (crate(walkdir) >= 2.0.0 with crate(walkdir) < 3.0.0) +BuildRequires: (crate(walkdir) >= 1.0.1 with crate(walkdir) < 2.0.0) %endif %description diff --git a/syn-0.12.14-fix-metadata.diff b/syn-0.12.14-fix-metadata.diff deleted file mode 100644 index c711590..0000000 --- a/syn-0.12.14-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- syn-0.12.14/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ syn-0.12.14/Cargo.toml 2018-03-09T14:43:09.449662+01:00 -@@ -40,7 +40,7 @@ - version = "1.0.0" - - [dev-dependencies.walkdir] --version = "1.0.1" -+version = "2" - - [features] - clone-impls = []