Skip to content

Commit

Permalink
spec: copy the macOS universal build to output location
Browse files Browse the repository at this point in the history
since the rpm will also build macOS universal binary and it's
the one that is needed for the installer it is copied to  the
crc-redistributable/macos dir
  • Loading branch information
anjannath authored and openshift-merge-robot committed Mar 28, 2023
1 parent d7848d3 commit 36fcd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/rpm/crc.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/linux-amd64/crc %{buildroot
install -d %{buildroot}%{_datadir}/%{name}-redistributable/{linux,macos,windows}
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/release/* %{buildroot}%{_datadir}/%{name}-redistributable/linux/
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/windows-amd64/crc.exe %{buildroot}%{_datadir}/%{name}-redistributable/windows/
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/macos-amd64/crc %{buildroot}%{_datadir}/%{name}-redistributable/macos/
install -m 0755 -vp %{gobuilddir}/src/%{goipath}/out/macos-universal/crc %{buildroot}%{_datadir}/%{name}-redistributable/macos/

%check
# with fedora macros: gocheck
Expand Down

0 comments on commit 36fcd72

Please sign in to comment.