diff --git a/rpm/crun.spec b/rpm/crun.spec index 05db8dd481..e68123229f 100644 --- a/rpm/crun.spec +++ b/rpm/crun.spec @@ -98,7 +98,6 @@ Recommends: wasmedge %build ./autogen.sh -ls -al libocispec ./configure --disable-silent-rules %{krun_opts} %{wasmedge_opts} %{wasmtime_opts} %make_build @@ -113,11 +112,11 @@ ls -al libocispec #rm -rf %%{buildroot}%%{_usr}/lib* %if %{defined krun_support} -ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/krun +%{__ln} -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/krun %endif %if %{defined wasm_support} -ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}-wasm +%{__ln} -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}-wasm %endif %files