diff --git a/.gitignore b/.gitignore index 87b4b5f..00a3842 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /arrayref-0.3.4.crate /arrayref-0.3.5.crate /arrayref-0.3.6.crate +/arrayref-0.3.7.crate diff --git a/rust-arrayref.spec b/rust-arrayref.spec index d83d6fb..d6f0951 100644 --- a/rust-arrayref.spec +++ b/rust-arrayref.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate arrayref -Name: rust-%{crate} -Version: 0.3.6 +Name: rust-arrayref +Version: 0.3.7 Release: %autorelease Summary: Macros to take array references of slices -# Upstream license specification: BSD-2-Clause -License: BSD +License: BSD-2-Clause URL: https://crates.io/crates/arrayref Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Macros to take array references of slices.} @@ -32,13 +26,13 @@ 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 -%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} @@ -46,11 +40,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 e652194..f5ce96e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (arrayref-0.3.6.crate) = 368341d00706c1250ff081b0d99c36c9af694a62ff4f4d8c837234340295771ca49c5439b24b6e1a4f2c3c5821764e98881dcb22d793f83de632fd5cb457671f +SHA512 (arrayref-0.3.7.crate) = dcf1c7de6d1d4b921e26a39cd70070bd460cd27f0a38be9099e41fc8b05fb60ba4f9aa91f92401cdcd0847bad08bffa7db4dca8d7cc84a3c8a1416d1758838ce