%define _debugsource_template %{nil} %define debug_package %{nil} Name: brush Version: 0.4.0 Release: 1%{?dist} Summary: Rust-implemented shell focused on POSIX and bash compatibility License: MIT URL: https://github.com/reubeno/brush Source0: %{url}/archive/refs/tags/brush-shell-v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cargo >= 1.80 BuildRequires: rust >= 1.80 BuildRequires: gcc %description Brush is a shell written in Rust. It aims to be POSIX-compliant and bash-compatible, while remaining lightweight and robust. %prep %autosetup -n brush-brush-shell-v%{version} %build export CARGO_HOME=$PWD/.cargo-home cargo build --release %install install -Dpm 0755 target/release/brush %{buildroot}%{_bindir}/brush %check %{buildroot}%{_bindir}/brush --version %files %license LICENSE %doc README.md %{_bindir}/brush %changelog * Tue Jun 09 2026 sachesi - 0.4.0-1 - Initial package for Copr.