Skip to content

Commit

Permalink
rpm: define wasm_support only with wasmedge
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Sep 4, 2024
1 parent 01678dc commit 4974aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/crun.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# krun and wasm[edge,time] support only on aarch64 and x86_64
%ifarch aarch64 || x86_64
%global wasm_support 1

%if %{defined copr_username}
%define copr_build 1
Expand All @@ -14,6 +13,7 @@
%if %{defined fedora} || (%{defined %copr_build} && %{defined rhel} && 0%{?rhel} < 10)
%global wasmedge_support 1
%global wasmedge_opts --with-wasmedge
%global wasm_support 1
%endif

# krun only exists on fedora
Expand Down

0 comments on commit 4974aeb

Please sign in to comment.