# Generated by rust2rpm 10 %bcond_without check %global __cargo_skip_build 0 %global crate askalono-cli Name: rust-%{crate} Version: 0.3.0 Release: 4%{?dist} Summary: Tool to detect the contents of license files # Upstream license specification: Apache-2.0 # https://github.com/amzn/askalono/issues/38 License: ASL 2.0 URL: https://crates.io/crates/askalono-cli Source: %{crates_source} # Initial patched metadata # * Update env_logger to 0.7.0, https://github.com/amzn/askalono/commit/e5875f9676fa4a3e43adcf1dae705ef3f508a4a6 Patch0: askalono-cli-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Tool to detect the contents of license files.} %description %{_description} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} %{_bindir}/askalono %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Oct 18 23:09:33 CEST 2019 Robert-André Mauchin - 0.3.0-4 - Bump env_logger to 0.7.0 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jul 21 10:17:13 CEST 2019 Igor Gnatenko - 0.3.0-2 - Regenerate * Thu Mar 28 12:56:20 CET 2019 Robert-André Mauchin - 0.3.0-1 - Initial package