diff --git a/rpmbuild/copia-cli.spec b/rpmbuild/copia-cli.spec index bc31ff1..71a2257 100644 --- a/rpmbuild/copia-cli.spec +++ b/rpmbuild/copia-cli.spec @@ -9,12 +9,8 @@ Summary: CLI for Copia — source control for industrial automation License: AGPL-3.0-only URL: https://%{goipath} -%ifarch x86_64 Source0: https://%{goipath}/releases/download/v%{version}/%{name}_%{version}_linux_amd64.tar.gz -%endif -%ifarch aarch64 -Source0: https://%{goipath}/releases/download/v%{version}/%{name}_%{version}_linux_arm64.tar.gz -%endif +Source1: https://%{goipath}/releases/download/v%{version}/%{name}_%{version}_linux_arm64.tar.gz %description copia-cli brings Copia repositories, issues, pull requests, and other @@ -22,7 +18,12 @@ concepts to the terminal next to where you are already working with git and your code. %prep -%setup -c +%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}