Name: tailspin Version: 3.0.1 Release: 1%{?dist} Summary: A log file highlighter License: MIT URL: https://github.com/bensadeh/tailspin Source0: %{name}-%{version}.tar.gz BuildRequires: cargo rust Requires: less BuildArch: x86_64 %description A log file highlighter %prep %setup -q %global _enable_debug_package 0 %global debug_package %{nil} %build cargo build --release --locked --target-dir target %install cargo install --path . --root=%{buildroot}%{_prefix} rm %{buildroot}%{_prefix}/.crates.toml %{buildroot}%{_prefix}/.crates2.json %files %defattr(-,root,root,-) %doc README.md %{_bindir}/tspin %clean %changelog