From 4dcf2a4d0da7e7f598a650c89137c8912fe594ea Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 12 May 2019 08:31:22 +0200 Subject: [PATCH] Update serde_bytes to 0.11 Signed-off-by: Igor Gnatenko --- ron-fix-metadata.diff | 11 +++++++++++ rust-ron.spec | 12 +++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 ron-fix-metadata.diff diff --git a/ron-fix-metadata.diff b/ron-fix-metadata.diff new file mode 100644 index 0000000..4d8e055 --- /dev/null +++ b/ron-fix-metadata.diff @@ -0,0 +1,11 @@ +--- ron-0.5.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ ron-0.5.1/Cargo.toml 2019-05-12T06:30:37.537001+00:00 +@@ -37,7 +37,7 @@ + version = "1" + features = ["serde_derive"] + [dev-dependencies.serde_bytes] +-version = "0.10" ++version = "0.11" + + [dev-dependencies.serde_json] + version = "1" diff --git a/rust-ron.spec b/rust-ron.spec index 43ee047..166275b 100644 --- a/rust-ron.spec +++ b/rust-ron.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm-9-1.fc31 %bcond_with check %global debug_package %{nil} @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.5.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rusty Object Notation # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/ron Source: %{crates_source} +# Initial patched metadata +# * Update serde_bytes to 0.11, https://github.com/ron-rs/ron/pull/164 +Patch0: ron-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -22,7 +25,7 @@ BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) BuildRequires: (crate(serde/serde_derive) >= 1.0.0 with crate(serde/serde_derive) < 2.0.0) %if %{with check} -BuildRequires: (crate(serde_bytes/default) >= 0.10.0 with crate(serde_bytes/default) < 0.11.0) +BuildRequires: (crate(serde_bytes/default) >= 0.11.0 with crate(serde_bytes/default) < 0.12.0) BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) %endif @@ -75,5 +78,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun May 12 08:30:37 CEST 2019 Igor Gnatenko - 0.5.1-2 +- Update serde_bytes to 0.11 + * Sat Apr 27 23:09:55 EEST 2019 Artem Polishchuk - 0.5.1-1 - Initial package