# Generated by rust2rpm 26 %bcond_without check %global crate gitjuggling Name: rust-gitjuggling Version: 1.2.0 Release: %autorelease Summary: Run a git command in all repositories under the current working directory License: MIT URL: https://crates.io/crates/gitjuggling Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Run a git command in all repositories under the current working directory.} %description %{_description} %package -n %{crate} Summary: %{summary} # FIXME: paste output of %%cargo_license_summary here License: # FIXME # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/gitjuggling %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog