diff --git a/.gitignore b/.gitignore index 716490a..4894d82 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /num-traits-0.2.11.crate /num-traits-0.2.12.crate /num-traits-0.2.14.crate +/num-traits-0.2.15.crate diff --git a/rust-num-traits.spec b/rust-num-traits.spec index 65bb53f..a78ef0e 100644 --- a/rust-num-traits.spec +++ b/rust-num-traits.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate num-traits Name: rust-%{crate} -Version: 0.2.14 +Version: 0.2.15 Release: %autorelease Summary: Numeric traits for generic mathematics @@ -15,11 +15,8 @@ URL: https://crates.io/crates/num-traits Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Numeric traits for generic mathematics.} @@ -33,12 +30,14 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%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} @@ -47,10 +46,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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} @@ -59,10 +58,10 @@ BuildArch: noarch %description -n %{name}+i128-devel %{_description} This package contains library source intended for building other packages which -use "the i128" feature of the "%{crate}" crate. +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}+libm-devel Summary: %{summary} @@ -71,10 +70,10 @@ BuildArch: noarch %description -n %{name}+libm-devel %{_description} This package contains library source intended for building other packages which -use "the libm" feature of the "%{crate}" crate. +use the "libm" feature of the "%{crate}" crate. %files -n %{name}+libm-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -83,10 +82,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "the std" feature of the "%{crate}" crate. +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 75d395f..609a2bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-traits-0.2.14.crate) = c3028eca9f7b718de0db3a36cf3e462bdba43562d52c9b809ed4cc0aa6af403aea542d6d4da743cd1dd541397815a3c5a84cef4d6e40122994e4be6a62319b2e +SHA512 (num-traits-0.2.15.crate) = 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8