Bump syn to 0.13

epel9
Josh Stone 7 years ago
parent 82de2d267f
commit ed8a99f122

@ -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 <jistone@redhat.com> From: Josh Stone <jistone@redhat.com>
Date: Thu, 8 Mar 2018 20:34:22 -0800 Date: Tue, 17 Apr 2018 14:52:51 -0700
Subject: [PATCH] Update to syn 0.12 Subject: [PATCH] Update to syn 0.13
--- ---
Cargo.toml | 2 +-
src/lib.rs | 28 +++++++++++++++------------- 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 diff --git a/src/lib.rs b/src/lib.rs
index 09d41e58eae4..4e98771e8627 100644 index 09d41e58eae4..4e98771e8627 100644
@ -70,5 +69,5 @@ index 09d41e58eae4..4e98771e8627 100644
} }
_ => continue, _ => continue,
-- --
2.14.3 2.17.0

@ -6,17 +6,18 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.5.0 Version: 0.5.0
Release: 4%{?dist} Release: 5%{?dist}
Summary: Simple crate for ensuring that version numbers in README files are updated Summary: Simple crate for ensuring that version numbers in README files are updated
License: MIT License: MIT
URL: https://crates.io/crates/version-sync URL: https://crates.io/crates/version-sync
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata # Initial patched metadata
# * Bump syn to 0.13
Patch0: version-sync-0.5.0-fix-metadata.diff Patch0: version-sync-0.5.0-fix-metadata.diff
# https://github.com/mgeisler/version-sync/pull/35 # https://github.com/mgeisler/version-sync/pull/36
Patch1: 0001-Update-to-syn-0.12.patch Patch1: 0001-Update-to-syn-0.13.patch
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -25,7 +26,7 @@ BuildRequires: rust-packaging
BuildRequires: (crate(itertools) >= 0.7.0 with crate(itertools) < 0.8.0) 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(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(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(toml) >= 0.4.0 with crate(toml) < 0.5.0)
BuildRequires: (crate(url) >= 1.5.1 with crate(url) < 2.0.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}/ %{cargo_registry}/%{crate}-%{version}/
%changelog %changelog
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.5.0-5
- Bump syn to 0.13
* Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.5.0-4 * Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.5.0-4
- Bump syn to 0.12 - Bump syn to 0.12

@ -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 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 2018-04-17T14:57:46.167356-07:00
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
version = "0.7" version = "0.7"
[dependencies.syn] [dependencies.syn]
-version = "0.11" -version = "0.11"
+version = "0.12" +version = "0.13"
features = ["full"] features = ["full"]
[dependencies.toml] [dependencies.toml]

Loading…
Cancel
Save