From 317d08d71a62edcc315af8c0b54379c90c308fab Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 25 Mar 2019 19:36:25 +0100 Subject: [PATCH] Update to 0.9.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + darling_core-fix-metadata.diff | 11 +++++++++++ rust-darling_core.spec | 8 +++++++- sources | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 darling_core-fix-metadata.diff diff --git a/.gitignore b/.gitignore index d8adeda..cc7c235 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /darling_core-0.8.5.crate /darling_core-0.8.6.crate +/darling_core-0.9.0.crate diff --git a/darling_core-fix-metadata.diff b/darling_core-fix-metadata.diff new file mode 100644 index 0000000..a82ed44 --- /dev/null +++ b/darling_core-fix-metadata.diff @@ -0,0 +1,11 @@ +--- darling_core-0.9.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ darling_core-0.9.0/Cargo.toml 2019-03-25T18:35:06.146014+00:00 +@@ -30,7 +30,7 @@ + version = "0.6" + + [dependencies.strsim] +-version = "0.7.0" ++version = "0.8.0" + optional = true + + [dependencies.syn] diff --git a/rust-darling_core.spec b/rust-darling_core.spec index e603772..0dd98d2 100644 --- a/rust-darling_core.spec +++ b/rust-darling_core.spec @@ -5,13 +5,16 @@ %global crate darling_core Name: rust-%{crate} -Version: 0.8.6 +Version: 0.9.0 Release: 1%{?dist} Summary: Helper crate for proc-macro library for reading attributes into structs License: MIT URL: https://crates.io/crates/darling_core Source: %{crates_source} +# Initial patched metadata +# * Update strsim to 0.8, upstream wants to keep compatibility with old rustc +Patch0: darling_core-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -107,6 +110,9 @@ which use "suggestions" feature of "%{crate}" crate. %endif %changelog +* Mon Mar 25 19:35:06 CET 2019 Igor Gnatenko - 0.9.0-1 +- Update to 0.9.0 + * Mon Mar 18 21:46:18 CET 2019 Igor Gnatenko - 0.8.6-1 - Update to 0.8.6 diff --git a/sources b/sources index 1c4ab96..eda5b5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (darling_core-0.8.6.crate) = d0d5983ff11d47b469d64b2ee6ed3e0c493e5a847ddaa97244b8eea9ba00692980ca4fffb91029dd079db7c7a31790d8904e06855205edc4539eb2fdfddb6666 +SHA512 (darling_core-0.9.0.crate) = dc34c3384cc7cf50c78aacec9feca8d94145c921470b8c4aeddf3e713e77e642fda20b976b2d7ee5528b48f3b1b9b4971e9cfc675f6d1a94e0b13730b36a5040