From ed8a99f122d23c82f326bd123e5e3d2c34159232 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 17 Apr 2018 14:59:52 -0700 Subject: [PATCH] Bump syn to 0.13 --- ...o-syn-0.12.patch => 0001-Update-to-syn-0.13.patch | 11 +++++------ rust-version-sync.spec | 12 ++++++++---- version-sync-0.5.0-fix-metadata.diff | 10 +++++----- 3 files changed, 18 insertions(+), 15 deletions(-) rename 0001-Update-to-syn-0.12.patch => 0001-Update-to-syn-0.13.patch (93%) diff --git a/0001-Update-to-syn-0.12.patch b/0001-Update-to-syn-0.13.patch similarity index 93% rename from 0001-Update-to-syn-0.12.patch rename to 0001-Update-to-syn-0.13.patch index 3fa0675..748c910 100644 --- a/0001-Update-to-syn-0.12.patch +++ b/0001-Update-to-syn-0.13.patch @@ -1,12 +1,11 @@ -From c32fcc0fe29a952829757b7936b222f390d39d38 Mon Sep 17 00:00:00 2001 +From 6c243140aead31bfca3af7bb4af9e5df16fe83f4 Mon Sep 17 00:00:00 2001 From: Josh Stone -Date: Thu, 8 Mar 2018 20:34:22 -0800 -Subject: [PATCH] Update to syn 0.12 +Date: Tue, 17 Apr 2018 14:52:51 -0700 +Subject: [PATCH] Update to syn 0.13 --- - Cargo.toml | 2 +- src/lib.rs | 28 +++++++++++++++------------- - 2 files changed, 16 insertions(+), 14 deletions(-) + 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 09d41e58eae4..4e98771e8627 100644 @@ -70,5 +69,5 @@ index 09d41e58eae4..4e98771e8627 100644 } _ => continue, -- -2.14.3 +2.17.0 diff --git a/rust-version-sync.spec b/rust-version-sync.spec index e5a6069..ec2d365 100644 --- a/rust-version-sync.spec +++ b/rust-version-sync.spec @@ -6,17 +6,18 @@ Name: rust-%{crate} Version: 0.5.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Simple crate for ensuring that version numbers in README files are updated License: MIT URL: https://crates.io/crates/version-sync Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata +# * Bump syn to 0.13 Patch0: version-sync-0.5.0-fix-metadata.diff -# https://github.com/mgeisler/version-sync/pull/35 -Patch1: 0001-Update-to-syn-0.12.patch +# https://github.com/mgeisler/version-sync/pull/36 +Patch1: 0001-Update-to-syn-0.13.patch ExclusiveArch: %{rust_arches} @@ -25,7 +26,7 @@ BuildRequires: rust-packaging BuildRequires: (crate(itertools) >= 0.7.0 with crate(itertools) < 0.8.0) BuildRequires: (crate(pulldown-cmark) >= 0.1.0 with crate(pulldown-cmark) < 0.2.0) BuildRequires: (crate(semver-parser) >= 0.7.0 with crate(semver-parser) < 0.8.0) -BuildRequires: ((crate(syn) >= 0.12.0 with crate(syn) < 0.13.0) with crate(syn/full)) +BuildRequires: ((crate(syn) >= 0.13.0 with crate(syn) < 0.14.0) with crate(syn/full)) BuildRequires: (crate(toml) >= 0.4.0 with crate(toml) < 0.5.0) BuildRequires: (crate(url) >= 1.5.1 with crate(url) < 2.0.0) @@ -64,6 +65,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Tue Apr 17 2018 Josh Stone - 0.5.0-5 +- Bump syn to 0.13 + * Thu Mar 08 2018 Josh Stone - 0.5.0-4 - Bump syn to 0.12 diff --git a/version-sync-0.5.0-fix-metadata.diff b/version-sync-0.5.0-fix-metadata.diff index 1e72740..196264e 100644 --- a/version-sync-0.5.0-fix-metadata.diff +++ b/version-sync-0.5.0-fix-metadata.diff @@ -1,11 +1,11 @@ ---- version-sync-0.5.0/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ version-sync-0.5.0/Cargo.toml 2018-03-08T20:49:53.515269-08:00 +--- version-sync-0.5.0/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ version-sync-0.5.0/Cargo.toml 2018-04-17T14:57:46.167356-07:00 @@ -33,7 +33,7 @@ version = "0.7" - + [dependencies.syn] -version = "0.11" -+version = "0.12" ++version = "0.13" features = ["full"] - + [dependencies.toml]