%global debug_package %{nil} # I don't know if this will break ARM builds, but GitHub publishes artifacts # using "x86" and "arm64". %define short_arch %(echo %{_arch} | sed -e s/86_//) %global __strip /bin/true Name: github-copilot Version: 0.0.366 Release: 1%{?dist} Summary: GitHub Copilot CLI License: https://docs.github.com/en/site-policy/github-terms/github-pre-release-license-terms URL: https://github.com/github/copilot-cli Source0: https://github.com/github/copilot-cli/releases/download/v%{version}/copilot-linux-%{short_arch}.tar.gz Source1: https://raw.githubusercontent.com/github/copilot-cli/refs/tags/v%{version}/README.md Source2: https://raw.githubusercontent.com/github/copilot-cli/refs/tags/v%{version}/LICENSE.md Requires: nodejs %description GitHub Copilot CLI brings AI-powered coding assistance directly to your command line, enabling you to build, debug, and understand code through natural language conversations. Powered by the same agentic harness as GitHub's Copilot coding agent, it provides intelligent assistance while staying deeply integrated with your GitHub workflow. %prep %setup -c %{name}-%{version} %build cp %{SOURCE1} . cp %{SOURCE2} . %install install -Dpm 0755 copilot %{buildroot}%{_bindir}/copilot %check %files %doc README.md %license LICENSE.md %{_bindir}/copilot %changelog * Thu Dec 4 2025 Chris Grau <113591+sirhc@users.noreply.github.com> - 0.0.366-1 - Update to 0.0.366 - Switch to CLI executable release artifacts, new with this release * Wed Nov 26 2025 Chris Grau <113591+sirhc@users.noreply.github.com> - 0.0.365-1 - Update to 0.0.365 * Tue Nov 25 2025 Chris Grau <113591+sirhc@users.noreply.github.com> - 0.0.363-1 - Update to 0.0.363 * Fri Nov 21 2025 Chris Grau <113591+sirhc@users.noreply.github.com> - 0.0.362-1 - Update to 0.0.362 * Tue Nov 18 2025 Chris Grau <113591+sirhc@users.noreply.github.com> - 0.0.360-1 - Update to 0.0.360 * Fri Nov 14 2025 Chris Grau <113591+sirhc@users.noreply.github.com> - 0.0.358-1 - Update to 0.0.358 * Thu Nov 6 2025 Chris Grau <113591+sirhc@users.noreply.github.com> - 0.0.354-1 - Initial package