# Generated by rust2rpm 18 %bcond_without check %global __cargo_skip_build 0 %global crate bingrep Name: rust-%{crate} Version: 0.9.0 Release: 1%{?dist} Summary: Cross-platform binary parser and colorizer # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/bingrep Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Cross-platform binary parser and colorizer.} %description %{_description} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %doc README.md %{_bindir}/bingrep %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires echo 'rust-rand0.3-devel' echo 'rust-time0.1-devel' %build %cargo_build %install %cargo_install %changelog %autochangelog