From 07a90063867f3caae5a37abf9ce4a3e04a367835 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 20 Nov 2017 08:49:32 +0100 Subject: [PATCH] Bump version-sync to 0.5 Signed-off-by: Igor Gnatenko --- rust-serde_yaml.spec | 10 ++++++++-- serde_yaml-0.7.2-fix-metadata.diff | 8 ++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 serde_yaml-0.7.2-fix-metadata.diff diff --git a/rust-serde_yaml.spec b/rust-serde_yaml.spec index 62db353..b9d99ec 100644 --- a/rust-serde_yaml.spec +++ b/rust-serde_yaml.spec @@ -6,12 +6,15 @@ Name: rust-%{crate} Version: 0.7.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: YAML support for Serde License: MIT or ASL 2.0 URL: https://crates.io/crates/serde_yaml Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump version-sync to 0.5, https://github.com/dtolnay/serde-yaml/pull/82 +Patch0: serde_yaml-0.7.2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,7 +28,7 @@ BuildRequires: ((crate(yaml-rust) >= 0.3.5 with crate(yaml-rust) < 0.4.0) with # [dev-dependencies] BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0) BuildRequires: (crate(unindent) >= 0.1.0 with crate(unindent) < 0.2.0) -BuildRequires: (crate(version-sync) >= 0.4.0 with crate(version-sync) < 0.5.0) +BuildRequires: (crate(version-sync) >= 0.5.0 with crate(version-sync) < 0.6.0) %endif %description @@ -63,6 +66,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/travis.sh %changelog +* Mon Nov 20 2017 Igor Gnatenko - 0.7.2-2 +- Bump version-sync to 0.5 + * Wed Nov 15 2017 Igor Gnatenko - 0.7.2-1 - Update to 0.7.2 diff --git a/serde_yaml-0.7.2-fix-metadata.diff b/serde_yaml-0.7.2-fix-metadata.diff new file mode 100644 index 0000000..7c0dd11 --- /dev/null +++ b/serde_yaml-0.7.2-fix-metadata.diff @@ -0,0 +1,8 @@ +--- serde_yaml-0.7.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ serde_yaml-0.7.2/Cargo.toml 2017-11-20T08:48:36.038984+01:00 +@@ -39,4 +39,4 @@ + version = "0.1" + + [dev-dependencies.version-sync] +-version = "0.4" ++version = "0.5"