Skip to content

Commit

Permalink
fix symlink
Browse files Browse the repository at this point in the history
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
  • Loading branch information
lsm5 committed Jul 21, 2023
1 parent 2362118 commit d48e18a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rpm/crun.spec
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ Recommends: wasmedge

%build
./autogen.sh
ls -al libocispec
./configure --disable-silent-rules %{krun_opts} %{wasmedge_opts} %{wasmtime_opts}
%make_build

Expand All @@ -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
Expand Down

0 comments on commit d48e18a

Please sign in to comment.