From 0ee08e77e4b5b63230fe3f4e965dbd7431a937ce Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 19 Jan 2022 00:01:59 +0100 Subject: [PATCH] Update to version 3.0.6; Fixes RHBZ#2030446 --- .gitignore | 1 + rust-clap_derive.spec | 21 +++++++++------------ sources | 2 +- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 9b49acb..560c794 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /clap_derive-3.0.0-beta.2.crate /clap_derive-3.0.0-beta.5.crate +/clap_derive-3.0.6.crate diff --git a/rust-clap_derive.spec b/rust-clap_derive.spec index b8e767a..323929d 100644 --- a/rust-clap_derive.spec +++ b/rust-clap_derive.spec @@ -1,24 +1,20 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate clap_derive Name: rust-%{crate} -Version: 3.0.0~beta.5 +Version: 3.0.6 Release: %autorelease Summary: Parse command line argument by defining a struct, derive crate # Upstream license specification: MIT OR Apache-2.0 -# https://github.com/clap-rs/clap/issues/2270 License: MIT or ASL 2.0 URL: https://crates.io/crates/clap_derive Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,10 +29,11 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -46,8 +43,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -58,8 +55,8 @@ BuildArch: noarch %description -n %{name}+debug-devel %{_description} -This package contains library source intended for building other packages -which use "debug" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index a14dde3..a84cc3d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (clap_derive-3.0.0-beta.5.crate) = 76251b7e781cde93809785e5a5370789fc6ae94397cf1e80efb1c4bda20e2b984fb9090f21d469224f3861ff51f80ba780c3bf176db9ea1860b34592df4fa917 +SHA512 (clap_derive-3.0.6.crate) = c9756a96ad477e124b97ebbf64e75eb4f86d0c6b0a10892a7cf7fb34671aeb0576b3fb948ceccd88be7116cdfcd652629c3efe3081e2aa87ba97189130508213