From 947bc49a99c499b7a80e716bc850410cadadb970 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 26 May 2018 18:45:50 +0200 Subject: [PATCH] bump min version of serde Signed-off-by: Igor Gnatenko --- rust-serde_test.spec | 7 +++++-- serde_test-1.0.60-fix-metadata.diff | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 serde_test-1.0.60-fix-metadata.diff diff --git a/rust-serde_test.spec b/rust-serde_test.spec index 8c1e31e..280400c 100644 --- a/rust-serde_test.spec +++ b/rust-serde_test.spec @@ -12,15 +12,18 @@ Summary: Token De/Serializer for testing De/Serialize implementations License: MIT or ASL 2.0 URL: https://crates.io/crates/serde_test Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump min version of serde, https://github.com/serde-rs/serde/pull/1283 +Patch0: serde_test-1.0.60-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(serde) >= 1.0.16 with crate(serde) < 2.0.0) +BuildRequires: (crate(serde) >= 1.0.60 with crate(serde) < 2.0.0) %if %{with check} # [dev-dependencies] -BuildRequires: ((crate(serde) >= 1.0.16 with crate(serde) < 2.0.0) with crate(serde/rc)) +BuildRequires: ((crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) with crate(serde/rc)) BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0) %endif diff --git a/serde_test-1.0.60-fix-metadata.diff b/serde_test-1.0.60-fix-metadata.diff new file mode 100644 index 0000000..c6f7a58 --- /dev/null +++ b/serde_test-1.0.60-fix-metadata.diff @@ -0,0 +1,14 @@ +--- serde_test-1.0.60/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ serde_test-1.0.60/Cargo.toml 2018-05-26T18:44:15.954368+02:00 +@@ -23,9 +23,9 @@ + license = "MIT/Apache-2.0" + repository = "https://github.com/serde-rs/serde" + [dependencies.serde] +-version = "1.0.16" ++version = "1.0.60" + [dev-dependencies.serde] +-version = "1.0.16" ++version = "1.0" + features = ["rc"] + + [dev-dependencies.serde_derive]