%global debug_package %{nil} Name: starship Version: 1.23.0 Release: %autorelease Summary: The minimal, blazing-fast, and infinitely customizable prompt for any shell! License: ISC URL: https://github.com/starship/%{name} Source: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: cargo BuildRequires: rust %description Starship is a minimal, blazing-fast, and infinitely customizable prompt for any shell! %prep %autosetup -n %{name}-%{version} %build %cargo_build %install %cargo_install %check %{buildroot}%{_bindir}/starship --version %files %doc README.md %license LICENSE %cargo_license %{_bindir}/starship %changelog %autochangelog