diff --git a/.gitignore b/.gitignore index d0dc743..16b9178 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /rand_core-0.6.1.crate /rand_core-0.6.2.crate /rand_core-0.6.3.crate +/rand_core-0.6.4.crate diff --git a/rust-rand_core.spec b/rust-rand_core.spec index a938f71..07412e5 100644 --- a/rust-rand_core.spec +++ b/rust-rand_core.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate rand_core -Name: rust-%{crate} -Version: 0.6.3 +Name: rust-rand_core +Version: 0.6.4 Release: %autorelease Summary: Core random number generator traits and tools for implementation -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/rand_core Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Core random number generator traits and tools for implementation.} @@ -33,12 +29,15 @@ 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 COPYRIGHT LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/COPYRIGHT +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.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}+alloc-devel Summary: %{summary} @@ -59,10 +58,10 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which -use "the alloc" feature of the "%{crate}" crate. +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+getrandom-devel Summary: %{summary} @@ -71,10 +70,10 @@ BuildArch: noarch %description -n %{name}+getrandom-devel %{_description} This package contains library source intended for building other packages which -use "the getrandom" feature of the "%{crate}" crate. +use the "getrandom" feature of the "%{crate}" crate. %files -n %{name}+getrandom-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -83,10 +82,10 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which -use "the serde" feature of the "%{crate}" crate. +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde1-devel Summary: %{summary} @@ -95,10 +94,10 @@ BuildArch: noarch %description -n %{name}+serde1-devel %{_description} This package contains library source intended for building other packages which -use "the serde1" feature of the "%{crate}" crate. +use the "serde1" feature of the "%{crate}" crate. %files -n %{name}+serde1-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -107,10 +106,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 e542436..e8865ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand_core-0.6.3.crate) = 0fc31f96ca8ebba8c179367de01458e909265e1d627ec0c5620be7c8e83d2f9570471d6ec2cb2bc4bc531505b02fc31f1165708cc1357906791c87123b06ee87 +SHA512 (rand_core-0.6.4.crate) = 36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79