diff --git a/rust-serde_derive.spec b/rust-serde_derive.spec index 42ccd4a..5a408cb 100644 --- a/rust-serde_derive.spec +++ b/rust-serde_derive.spec @@ -13,13 +13,16 @@ Summary: Macros 1.1 implementation of #[derive(Serialize, Deserialize)] License: MIT or ASL 2.0 URL: https://crates.io/crates/serde_derive Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump min version of quote to 0.5.2, https://github.com/serde-rs/serde/pull/1231 +Patch0: serde_derive-1.0.42-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(proc-macro2) >= 0.3.0 with crate(proc-macro2) < 0.4.0) -BuildRequires: (crate(quote) >= 0.5.0 with crate(quote) < 0.6.0) +BuildRequires: (crate(quote) >= 0.5.2 with crate(quote) < 0.6.0) BuildRequires: crate(serde_derive_internals) = 0.23.1 BuildRequires: ((crate(syn) >= 0.13.0 with crate(syn) < 0.14.0) with crate(syn/visit)) %if %{with check} diff --git a/serde_derive-1.0.42-fix-metadata.diff b/serde_derive-1.0.42-fix-metadata.diff new file mode 100644 index 0000000..a758fa3 --- /dev/null +++ b/serde_derive-1.0.42-fix-metadata.diff @@ -0,0 +1,11 @@ +--- serde_derive-1.0.42/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ serde_derive-1.0.42/Cargo.toml 2018-04-22T09:26:16.627022+02:00 +@@ -30,7 +30,7 @@ + version = "0.3" + + [dependencies.quote] +-version = "0.5" ++version = "0.5.2" + + [dependencies.serde_derive_internals] + version = "=0.23.1"