Accepting request 1116918 from home:avicenzi:wasm

Add crun-wasm symlink

OBS-URL: https://build.opensuse.org/request/show/1116918
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/crun?expand=0&rev=33
This commit is contained in:
Dario Faggioli 2023-10-11 11:41:55 +00:00 committed by Git OBS Bridge
parent c8debeea1c
commit e87d316b20
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 11 11:29:21 UTC 2023 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
- Add crun-wasm symlink for platform 'wasi/wasm'
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 13 06:04:30 UTC 2023 - Danish Prakash <danish.prakash@suse.com> Wed Sep 13 06:04:30 UTC 2023 - Danish Prakash <danish.prakash@suse.com>

View File

@ -86,6 +86,10 @@ rm -rf %{buildroot}/%{_libdir}/lib*
# allow easy krun usage with podman # allow easy krun usage with podman
ln -s %{_bindir}/crun %{buildroot}%{_bindir}/krun ln -s %{_bindir}/crun %{buildroot}%{_bindir}/krun
%endif %endif
%if %with_wasmedge
# platform 'wasi/wasm' requires crun-wasm
ln -s %{_bindir}/crun %{buildroot}%{_bindir}/crun-wasm
%endif
%files %files
%license COPYING %license COPYING
@ -95,6 +99,9 @@ ln -s %{_bindir}/crun %{buildroot}%{_bindir}/krun
%ifarch x86_64 aarch64 %ifarch x86_64 aarch64
%{_bindir}/krun %{_bindir}/krun
%endif %endif
%if %with_wasmedge
%{_bindir}/crun-wasm
%endif
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog