# Generated by rust2rpm 16 %bcond_without check %global crate rand_chacha Name: rust-%{crate} Version: 0.3.1 Release: %mkrel 2 Summary: ChaCha random number generator Group: Development/Other # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/rand_chacha Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildArch: noarch BuildRequires: rust-packaging BuildRequires: crate(ppv-lite86/simd) >= 0.2.8 BuildRequires: crate(ppv-lite86/std) >= 0.2.8 BuildRequires: crate(rand_core/default) >= 0.6.0 BuildRequires: crate(serde/default) >= 1.0.0 BuildRequires: crate(serde/derive) >= 1.0.0 %if %{with check} BuildRequires: crate(serde_json/default) >= 1.0.0 %endif %global _description %{expand: ChaCha random number generator.} %description %{_description} %package devel Summary: %{summary} Group: Development/Other BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} Group: Development/Other 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. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} Group: Development/Other BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde1-devel Summary: %{summary} Group: Development/Other BuildArch: noarch %description -n %{name}+serde1-devel %{_description} This package contains library source intended for building other packages which use "serde1" feature of "%{crate}" crate. %files -n %{name}+serde1-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+simd-devel Summary: %{summary} Group: Development/Other BuildArch: noarch %description -n %{name}+simd-devel %{_description} This package contains library source intended for building other packages which use "simd" feature of "%{crate}" crate. %files -n %{name}+simd-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} Group: Development/Other 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. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build %cargo_build -a %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog * Wed Mar 23 2022 umeabot <umeabot> 0.3.1-2.mga9 + Revision: 1821612 - Mageia 9 Mass Rebuild * Sun Feb 20 2022 guillomovitch <guillomovitch> 0.3.1-1.mga9 + Revision: 1781911 - imported package rust-rand_chacha * Wed Feb 16 2022 Guillaume Rousse <guillomovitch@gmail.com> - 0.3.1-1 - Initial package