%global debug_package %{nil} Name: trippy Version: 0.13.0 Release: 1%{?dist} Summary: Network diagnostic tool combining traceroute and ping License: Apache-2.0 URL: https://github.com/fujiapple852/trippy Source0: %{url}/archive/0.13.0/%{name}-%{version}.tar.gz BuildRequires: cargo BuildRequires: rust BuildRequires: gcc %description Trippy combines the functionality of traceroute and ping in an interactive TUI. %prep %autosetup -n %{name}-%{version} %build cargo build --release --locked %install install -Dm755 target/release/trip %{buildroot}%{_bindir}/trip %files %license LICENSE %{_bindir}/trip