From 21d9fcaaccde1d0f17b6510ccf168cbe4102f4b0 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 8 Apr 2020 14:19:28 -0700 Subject: [PATCH] Bump to proc-macro-error 1.0.0 --- rust-structopt-derive.spec | 8 +++++++- structopt-derive-fix-metadata.diff | 11 +++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 structopt-derive-fix-metadata.diff diff --git a/rust-structopt-derive.spec b/rust-structopt-derive.spec index 128d7ce..7b03d70 100644 --- a/rust-structopt-derive.spec +++ b/rust-structopt-derive.spec @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.4.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Parse command line argument by defining a struct, derive crate # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/structopt-derive Source: %{crates_source} +# Initial patched metadata +# * Bump to proc-macro-error 1.0.0, https://github.com/TeXitoi/structopt/pull/373 +Patch0: structopt-derive-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -82,6 +85,9 @@ which use "paw" feature of "%{crate}" crate. %endif %changelog +* Wed Apr 08 2020 Josh Stone - 0.4.5-2 +- Bump to proc-macro-error 1.0.0 + * Wed Mar 18 2020 Josh Stone - 0.4.5-1 - Update to 0.4.5 diff --git a/structopt-derive-fix-metadata.diff b/structopt-derive-fix-metadata.diff new file mode 100644 index 0000000..ce9551f --- /dev/null +++ b/structopt-derive-fix-metadata.diff @@ -0,0 +1,11 @@ +--- structopt-derive-0.4.5/Cargo.toml 2020-03-18T18:54:35+00:00 ++++ structopt-derive-0.4.5/Cargo.toml 2020-04-08T21:09:47.679398+00:00 +@@ -28,7 +28,7 @@ + version = "0.3.0" + + [dependencies.proc-macro-error] +-version = "0.4.7" ++version = "1.0.0" + + [dependencies.proc-macro2] + version = "1"