# Generated by rust2rpm 24 %bcond_without check %global crate shellcheck-sarif Name: rust-shellcheck-sarif Version: 0.4.1 Release: %autorelease Summary: Convert shellcheck output to SARIF License: MIT URL: https://crates.io/crates/shellcheck-sarif Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Convert shellcheck output to SARIF.} %description %{_description} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %doc README.md %{_bindir}/shellcheck-sarif %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 %autochangelog