Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions rpmbuild/copia-cli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@ 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
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}
Expand Down
Loading