From 5a120e215a201a4bc08e9eaaf9eedf57cbb985ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bir=C3=B3=2C=20Csaba=20Attila?= Date: Thu, 16 Apr 2026 20:57:22 +0200 Subject: [PATCH] hotfix: fix COPR multi-arch and Snap credentials - copr spec: use dual Source entries (Source0=amd64, Source1=arm64) with %ifarch in %prep so both architectures are in the SRPM - snap: credentials format documented (requires [login.ubuntu.com] header) --- rpmbuild/copia-cli.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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}