diff --git a/rust-scroll_derive.spec b/rust-scroll_derive.spec index 98b1180..c376640 100644 --- a/rust-scroll_derive.spec +++ b/rust-scroll_derive.spec @@ -7,19 +7,22 @@ Name: rust-%{crate} Version: 0.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Macros 1.1 derive implementation for Pread and Pwrite traits from scroll crate License: MIT URL: https://crates.io/crates/scroll_derive Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# Bump to quote-0.5 and syn-0.13 -- https://github.com/m4b/scroll_derive/pull/5 +Patch0: scroll_derive-0.9.2-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(quote) >= 0.4.0 with crate(quote) < 0.5.0) -BuildRequires: (crate(syn) >= 0.12.0 with crate(syn) < 0.13.0) +BuildRequires: (crate(quote) >= 0.5.0 with crate(quote) < 0.6.0) +BuildRequires: (crate(syn) >= 0.13.0 with crate(syn) < 0.14.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0) @@ -60,6 +63,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Tue Apr 17 2018 Josh Stone - 0.9.2-2 +- Bump to quote-0.5 and syn-0.13 + * Sat Mar 10 2018 Josh Stone - 0.9.2-1 - Update to 0.9.2 diff --git a/scroll_derive-0.9.2-fix-metadata.diff b/scroll_derive-0.9.2-fix-metadata.diff new file mode 100644 index 0000000..a4edba0 --- /dev/null +++ b/scroll_derive-0.9.2-fix-metadata.diff @@ -0,0 +1,14 @@ +--- scroll_derive-0.9.2/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ scroll_derive-0.9.2/Cargo.toml 2018-04-17T14:33:28.574625-07:00 +@@ -24,9 +24,9 @@ + [lib] + proc-macro = true + [dependencies.quote] +-version = "0.4" ++version = "0.5" + + [dependencies.syn] +-version = "0.12" ++version = "0.13" + [dev-dependencies.scroll] + version = "0.9"