Name: tailspin Version: 3.0.2 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 Tailspin works by reading through a log file line by line, running a series of regexes against each line. The regexes recognize patterns you expect to find in a logfile, like dates, numbers, severity keywords and more. Tailspin does not make any assumptions on the format or position of the items it wants to highlight. For this reason, it requires no configuration and the highlighting will work consistently across different logfiles. %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