# rgit (https://github.com/ettisafxrup/rgit), preinstalled in NeelaOS. # To ship a new rgit release: set Version to its tag (without the "v"), # add a %%changelog entry, and push; COPR builds it. %global debug_package %{nil} Name: rgit Version: 2.0.0 Release: 1%{?dist} Summary: Everyday Git work in one command License: MIT URL: https://github.com/ettisafxrup/rgit Source0: %{url}/archive/refs/tags/v%{version}/rgit-%{version}.tar.gz BuildRequires: golang BuildRequires: git-core Requires: git-core %description rgit wraps everyday Git work in single commands: rgit push "message", rgit pull, rgit status, rgit undo and more. %prep %autosetup -n rgit-%{version} %build export CGO_ENABLED=0 GOTOOLCHAIN=local GOFLAGS=-mod=readonly go build -trimpath \ -ldflags "-B gobuildid -s -w -X github.com/ettisafxrup/rgit/internal/version.Version=%{version}" \ -o rgit ./cmd/rgit %check export CGO_ENABLED=0 GOTOOLCHAIN=local GOFLAGS=-mod=readonly git config --global user.name "rgit build" 2>/dev/null || : git config --global user.email "build@localhost" 2>/dev/null || : go test ./... ./rgit version %install install -Dm0755 rgit %{buildroot}%{_bindir}/rgit %files %license LICENSE %{_bindir}/rgit %changelog * Wed Oct 21 2026 NeelaOS - 2.0.0-1 - rgit 2.0.0 for NeelaOS