Disable wasm in RHEL builds

crun-wasm is not shipped in RHEL, so avoid the build dependency by not
building it at all.
This commit is contained in:
Yaakov Selkowitz 2023-08-03 23:36:19 -04:00
parent af069bdab7
commit b6961f245f

View File

@ -7,11 +7,13 @@
%endif %endif
%endif %endif
%if 0%{?fedora}
# wasmedge built only for aarch64 and x86_64 # wasmedge built only for aarch64 and x86_64
%ifarch aarch64 || x86_64 %ifarch aarch64 || x86_64
%global wasm_support enabled %global wasm_support enabled
%global wasm_opts --with-wasmedge %global wasm_opts --with-wasmedge
%endif %endif
%endif
%global built_tag 1.8.6 %global built_tag 1.8.6
%global gen_version %(b=%{built_tag}; echo ${b/-/"~"}) %global gen_version %(b=%{built_tag}; echo ${b/-/"~"})