%global debug_package %{nil} %global commit 2e70bbc6436440092891a95d2c70a3e9d2804e4d %global shortcommit 2e70bbc Name: brush-git Version: 0.4.0^git20261031.%{shortcommit} Release: 1%{?dist} Summary: Rust-implemented shell focused on POSIX and bash compatibility, built from main License: MIT URL: https://github.com/reubeno/brush Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cargo BuildRequires: rust >= 1.95 BuildRequires: gcc Conflicts: brush %description Brush is a shell written in Rust. It aims to be POSIX-compliant and bash-compatible, while remaining lightweight and robust. This package tracks the main branch and installs the same brush binary as the brush package, so the two cannot be installed together. %prep %autosetup -n brush-%{commit} rm -f rust-toolchain.toml %build export CARGO_HOME=$PWD/.cargo-home cargo build --release --locked %install install -Dpm 0755 target/release/brush %{buildroot}%{_bindir}/brush %check %{buildroot}%{_bindir}/brush --version %files %license LICENSE %doc README.md %{_bindir}/brush %changelog * Sat Oct 31 2026 sachesi - 0.4.0^git20261031.2e70bbc-1 - Update to the latest main snapshot. * Fri Oct 30 2026 sachesi - 0.4.0^git20261030.e446f84-1 - Initial package for Copr.