diff --git a/.gitignore b/.gitignore index 82811ba..748b33c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /num-iter-0.1.40.crate /num-iter-0.1.41.crate /num-iter-0.1.42.crate +/num-iter-0.1.43.crate diff --git a/rust-num-iter.spec b/rust-num-iter.spec index e2ce27e..e58d5c7 100644 --- a/rust-num-iter.spec +++ b/rust-num-iter.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate num-iter Name: rust-%{crate} -Version: 0.1.42 +Version: 0.1.43 Release: %autorelease Summary: External iterators for generic mathematics @@ -15,11 +15,8 @@ URL: https://crates.io/crates/num-iter Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: External iterators for generic mathematics.} @@ -32,13 +29,15 @@ 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 RELEASES.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/RELEASES.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +45,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 %package -n %{name}+i128-devel Summary: %{summary} @@ -58,11 +57,11 @@ BuildArch: noarch %description -n %{name}+i128-devel %{_description} -This package contains library source intended for building other packages -which use "i128" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "i128" feature of the "%{crate}" crate. %files -n %{name}+i128-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -70,11 +69,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 cb444a2..da2c164 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-iter-0.1.42.crate) = 46b0e05c4f4587121ec300da51cbf02e04ee8f8441eb4dcaab5a2ccee3b40210f1badde56addf053fb876aed3749dfb5f01e757042573fdf99defc77fb265f3e +SHA512 (num-iter-0.1.43.crate) = 97ac20f16d4518c8cbe944e5c80089fa6bb75d4632fb9f3c9d9891aaddb0e0f2209f6e854317f3d3b41bfb330c9d3ed830f3797f0120d4b1863b1d6fa3b9c07b