diff --git a/rust-derive_arbitrary.spec b/rust-derive_arbitrary.spec index ff57da3..ccfb0b1 100644 --- a/rust-derive_arbitrary.spec +++ b/rust-derive_arbitrary.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate derive_arbitrary Name: rust-%{crate} -Version: 1.0.0 +Version: 1.1.3 Release: %autorelease Summary: Derives arbitrary traits @@ -15,11 +15,8 @@ URL: https://crates.io/crates/derive_arbitrary Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Derives arbitrary traits.} @@ -32,13 +29,14 @@ 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-MIT LICENSE-APACHE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 598702f..0709b82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (derive_arbitrary-1.0.0.crate) = 2a74c8cf7f24d5748e0860ccbf9b7dde12b8f9fd25c9cc793b9c0586bba368ab8ad3d774a73f693987748f5c21df283db28f108ef977614f962987e7f4268770 +SHA512 (derive_arbitrary-1.1.3.crate) = de7a83f38324273747d52e55d4a0ecfd77c49c9bd18c29b13470bee352234cc8a1d5daf61ee1fae5a495d9bcddd188a345d0b84af573535c76860a8d663c4d2e