diff --git a/.gitignore b/.gitignore index 6f8a8f3..36828f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /argh-0.1.5.crate /argh-0.1.6.crate /argh-0.1.7.crate +/argh-0.1.9.crate diff --git a/rust-argh.spec b/rust-argh.spec index 09de788..c56555c 100644 --- a/rust-argh.spec +++ b/rust-argh.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate argh -Name: rust-%{crate} -Version: 0.1.7 +Name: rust-argh +Version: 0.1.9 Release: %autorelease Summary: Derive-based argument parser optimized for code size -# Upstream license specification: BSD-3-Clause -License: BSD +License: BSD-3-Clause URL: https://crates.io/crates/argh Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Derive-based argument parser 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 8b9da31..cf91b78 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argh-0.1.7.crate) = 910d740fc2292911d644715ccdd4da105829847d8ea2fdacdac0444936fb4393ca09adf2377705911a1f97b4cbe8bcedf53ccc2c4b3491bd876e4c017981ef34 +SHA512 (argh-0.1.9.crate) = 02d00baf6a99d8b22b2eb68c51551678a11c0aa603c44c1aa84d39fced71e72cb068cd2b3c2933ce24762aa1f4e5fcce732956d6a91e9741c6f40c2f513f956c