Name: snapmit Version: 1.0.0 Release: 1%{?dist} Summary: AI-powered conventional commit messages with OpenAI-compatible API providers %global debug_package %{nil} License: GPL-3.0-or-later URL: https://github.com/fiandev/snapmit Source0: v%{version}.tar.gz BuildRequires: golang Requires: git %description snapmit helps you write clear, conventional, and meaningful Git commit messages automatically using AI. %prep %autosetup -n %{name}-%{version} %build export GO111MODULE=on export GOPATH=%{_builddir}/%{name}-%{version}/.go export GOMODCACHE=%{_builddir}/%{name}-%{version}/.go/pkg/mod export GOCACHE=%{_builddir}/%{name}-%{version}/.cache go build -trimpath -o %{name} . %install install -Dpm755 %{name} %{buildroot}%{_bindir}/%{name} %files %license LICENSE %doc README.md %{_bindir}/%{name} %changelog * Thu Jan 22 2026 alfiansa "fiandev@proton.me" (mailto:fiandev@proton.me) - 1.0.0 - Initial package