%global debug_package %{nil} Name: starship # renovate: datasource=github-releases depName=starship/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 %prep %autosetup -n %{name}-%{version} %build export RUSTFLAGS="%{build_rustflags}" cargo build --release %install install -Dpm 0755 target/release/starship -t %{buildroot}%{_bindir}/ %files %license LICENSE %doc README.md %{_bindir}/starship %changelog %autochangelog