%global goipath github.com/qubernetic/copia-cli %global debug_package %{nil} Name: copia-cli Version: 1.1.2 Release: 1%{?dist} Summary: CLI for Copia — source control for industrial automation License: AGPL-3.0-only URL: https://%{goipath} Source0: https://%{goipath}/releases/download/v%{version}/%{name}_%{version}_linux_amd64.tar.gz Source1: https://%{goipath}/releases/download/v%{version}/%{name}_%{version}_linux_arm64.tar.gz %description copia-cli brings Copia repositories, issues, pull requests, and other concepts to the terminal next to where you are already working with git and your code. %prep %ifarch x86_64 %setup -c -T -a 0 %endif %ifarch aarch64 %setup -c -T -a 1 %endif %install install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name} install -Dpm 0644 LICENSE %{buildroot}%{_licensedir}/%{name}/LICENSE %files %license LICENSE %{_bindir}/%{name} %changelog