From 9b43b9320c6b14c71366daefc46a9c4a7542079f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 8 Oct 2022 21:15:49 +0200 Subject: [PATCH] Update to version 0.1.9; Fixes RHBZ#2102355 --- .gitignore | 1 + rust-argh_derive.spec | 19 +++++++++---------- sources | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 18349b8..ce8d3c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /argh_derive-0.1.5.crate /argh_derive-0.1.6.crate /argh_derive-0.1.7.crate +/argh_derive-0.1.9.crate diff --git a/rust-argh_derive.spec b/rust-argh_derive.spec index a97db94..4e1b73c 100644 --- a/rust-argh_derive.spec +++ b/rust-argh_derive.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate argh_derive -Name: rust-%{crate} -Version: 0.1.7 +Name: rust-argh_derive +Version: 0.1.9 Release: %autorelease Summary: Derive-based argument parsing optimized for code size -# Upstream license specification: BSD-3-Clause -License: BSD +License: BSD-3-Clause URL: https://crates.io/crates/argh_derive Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Derive-based argument parsing optimized for code size.} @@ -33,9 +32,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +46,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index c8a305d..8f3eb77 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argh_derive-0.1.7.crate) = ac36f5917ecb8c1ee66bea11097c85209fb0183006246cfca2350f88f1a1211ab8465f18aeec5296ce50b68db1821ceb7082ccbeacf221c4a5dc0f7a33111135 +SHA512 (argh_derive-0.1.9.crate) = cc59e96427288bc56ca1ef87f9bf081fab8f7b6be40146597c88aa79a1b63f337d387d304f89c484107da8d56b8056ebeb1379df8bd6012b2c79febae9e9a79e