# Generated by rust2rpm 16 %bcond_without check %global crate version_check Name: rust-%{crate} Version: 0.9.4 Release: %mkrel 2 Summary: Tiny crate to check the version of the installed/running rustc Group: Development/Other # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/version_check Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: Tiny crate to check the version of the installed/running rustc.} %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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Mon Mar 21 2022 umeabot <umeabot> 0.9.4-2.mga9 + Revision: 1816198 - Mageia 9 Mass Rebuild * Sun Feb 20 2022 guillomovitch <guillomovitch> 0.9.4-1.mga9 + Revision: 1781955 - imported package rust-version_check * Sun Feb 20 2022 Guillaume Rousse <guillomovitch@gmail.com> - 0.9.4-1 - Initial package