# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate quick-error Name: rust-%{crate} Version: 2.0.1 Release: %mkrel 2 Summary: Macro which makes error types pleasant to write Group: Development/Other # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/quick-error Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildArch: noarch BuildRequires: rust-packaging >= 21 %global _description %{expand: Macro which makes error types pleasant to write.} %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 the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/README.rst %{crate_instdir}/ %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 the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/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> 2.0.1-2.mga9 + Revision: 1816481 - Mageia 9 Mass Rebuild + guillomovitch <guillomovitch> - new version 2.0.1 * Sat Feb 26 2022 guillomovitch <guillomovitch> 1.2.3-1.mga9 + Revision: 1785401 - revert to version 1.2.3, in order to build rust-rusty-fork * Thu Feb 24 2022 guillomovitch <guillomovitch> 2.0.1-1.mga9 + Revision: 1784262 - imported package rust-quick-error * Thu Feb 24 2022 Guillaume Rousse <guillomovitch@gmail.com> - 2.0.1-1 - Initial package