From d87404ca45a0723e1f6569ef7eba265ccd527f07 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 31 Aug 2021 14:48:17 +0200 Subject: [PATCH] Update to version 0.3.23; Fixes RHBZ#1999249 --- .gitignore | 1 + rust-structopt.spec | 5 +---- sources | 2 +- structopt-fix-metadata.diff | 11 ----------- 4 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 structopt-fix-metadata.diff diff --git a/.gitignore b/.gitignore index bcc009c..763489a 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /structopt-0.3.20.crate /structopt-0.3.21.crate /structopt-0.3.22.crate +/structopt-0.3.23.crate diff --git a/rust-structopt.spec b/rust-structopt.spec index 1b8723f..8697484 100644 --- a/rust-structopt.spec +++ b/rust-structopt.spec @@ -5,7 +5,7 @@ %global crate structopt Name: rust-%{crate} -Version: 0.3.22 +Version: 0.3.23 Release: %autorelease Summary: Parse command line argument by defining a struct @@ -13,9 +13,6 @@ Summary: Parse command line argument by defining a struct License: ASL 2.0 or MIT URL: https://crates.io/crates/structopt Source: %{crates_source} -# Initial patched metadata -# * bump strum from 0.20 to 0.21: https://github.com/TeXitoi/structopt/pull/485 -Patch0: structopt-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/sources b/sources index 918f926..15bde58 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (structopt-0.3.22.crate) = fcd37107dc6cff85e30345c816ec6ef9bca57f05e9b67d8dce196a94fa18d79d33e953036b394521e76534fd5cc9e4fbbe14588d7cd4ccb01076f4c8ae8f5739 +SHA512 (structopt-0.3.23.crate) = 6f6cb5e2ecb7bc2e1e7c58d98e3e9f54dd4ff4698d22aa32e2fe7ab6c51a8e9e8c418260321a3f4aaae1808a68eebcc40f619de28433949aa846c27f06ff5cef diff --git a/structopt-fix-metadata.diff b/structopt-fix-metadata.diff deleted file mode 100644 index 1a97f4c..0000000 --- a/structopt-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- structopt-0.3.22/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ structopt-0.3.22/Cargo.toml 2021-07-18T15:12:21.160498+00:00 -@@ -40,7 +40,7 @@ - version = "1" - - [dev-dependencies.strum] --version = "0.20" -+version = "0.21" - features = ["derive"] - - [dev-dependencies.trybuild]