%global debug_package %{nil} Name: nushell Version: 0.106.1 Release: %autorelease Summary: A new type of shell License: MIT URL: https://github.com/nushell/%{name} Source: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: cargo BuildRequires: rust BuildRequires: libxcb BuildRequires: openssl-devel BuildRequires: libx11-devel %description %prep %autosetup -n %{name}-%{version} %build %cargo_build %install %cargo_install %check %{buildroot}%{_bindir}/nu --version %files %doc README.md %license LICENSE %cargo_license %{_bindir}/nu %changelog %autochangelog