From b28e1344a350e2c589e968b98509d25430162a4d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Aug 2019 14:08:35 +0200 Subject: [PATCH] Update to 0.6.13 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + ...-for-new-proc-macro2-escape-behavior.patch | 43 ------------------- rust-quote.spec | 11 ++--- sources | 2 +- 4 files changed, 8 insertions(+), 49 deletions(-) delete mode 100644 0001-Update-tests-for-new-proc-macro2-escape-behavior.patch diff --git a/.gitignore b/.gitignore index d66a75b..2652e5f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /quote-0.6.10.crate /quote-0.6.11.crate /quote-0.6.12.crate +/quote-0.6.13.crate diff --git a/0001-Update-tests-for-new-proc-macro2-escape-behavior.patch b/0001-Update-tests-for-new-proc-macro2-escape-behavior.patch deleted file mode 100644 index cbb0b22..0000000 --- a/0001-Update-tests-for-new-proc-macro2-escape-behavior.patch +++ /dev/null @@ -1,43 +0,0 @@ -From b3a3d76815b6f892a86c15da39a3019608290719 Mon Sep 17 00:00:00 2001 -From: David Tolnay -Date: Tue, 23 Apr 2019 21:31:54 -0700 -Subject: [PATCH] Update tests for new proc-macro2 escape behavior - ---- - tests/test.rs | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/tests/test.rs b/tests/test.rs -index f832da5..85562bf 100644 ---- a/tests/test.rs -+++ b/tests/test.rs -@@ -166,7 +166,7 @@ fn test_char() { - let tokens = quote! { - #zero #pound #quote #apost #newline #heart - }; -- let expected = "'\\u{0}' '#' '\\\"' '\\'' '\\n' '\\u{2764}'"; -+ let expected = "'\\u{0}' '#' '\"' '\\'' '\\n' '\\u{2764}'"; - assert_eq!(expected, tokens.to_string()); - } - -@@ -174,7 +174,7 @@ fn test_char() { - fn test_str() { - let s = "\0 a 'b \" c"; - let tokens = quote!(#s); -- let expected = "\"\\u{0} a \\'b \\\" c\""; -+ let expected = "\"\\u{0} a 'b \\\" c\""; - assert_eq!(expected, tokens.to_string()); - } - -@@ -182,7 +182,7 @@ fn test_str() { - fn test_string() { - let s = "\0 a 'b \" c".to_string(); - let tokens = quote!(#s); -- let expected = "\"\\u{0} a \\'b \\\" c\""; -+ let expected = "\"\\u{0} a 'b \\\" c\""; - assert_eq!(expected, tokens.to_string()); - } - --- -2.22.0.rc3 - diff --git a/rust-quote.spec b/rust-quote.spec index a9627bb..757ed61 100644 --- a/rust-quote.spec +++ b/rust-quote.spec @@ -5,16 +5,14 @@ %global crate quote Name: rust-%{crate} -Version: 0.6.12 -Release: 4%{?dist} +Version: 0.6.13 +Release: 1%{?dist} Summary: Quasi-quoting macro quote!(...) -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/quote Source: %{crates_source} -# https://github.com/dtolnay/quote/commit/b3a3d76815b6f892a86c15da39a3019608290719 -Patch0001: 0001-Update-tests-for-new-proc-macro2-escape-behavior.patch ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -85,6 +83,9 @@ which use "proc-macro" feature of "%{crate}" crate. %endif %changelog +* Sat Aug 03 14:08:02 CEST 2019 Igor Gnatenko - 0.6.13-1 +- Update to 0.6.13 + * Fri Jul 26 2019 Fedora Release Engineering - 0.6.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 3de0062..a951099 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (quote-0.6.12.crate) = 5d58945b0c9b41e368458a1661ae7b2ceed2e3285d377088afe5fde38e1db945ab42326d096cd6d13d82f5f80fe73d204c5fbe3c7abdea149eb6d7ca7c5e6798 +SHA512 (quote-0.6.13.crate) = bafa9ba42ea6ff2d6df652384485c58327de6eaea2832423eedd8ef8b4aace673c23b70f1f22106515ac13d7f625cb8b1a5e8c4388c1701ea3cd86fb9ac3056e