From b6961f245f4eda0f04bb9695fc77ca5d640ec6c2 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 3 Aug 2023 23:36:19 -0400 Subject: [PATCH] Disable wasm in RHEL builds crun-wasm is not shipped in RHEL, so avoid the build dependency by not building it at all. --- crun.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crun.spec b/crun.spec index 12e4646..492a68d 100644 --- a/crun.spec +++ b/crun.spec @@ -7,11 +7,13 @@ %endif %endif +%if 0%{?fedora} # wasmedge built only for aarch64 and x86_64 %ifarch aarch64 || x86_64 %global wasm_support enabled %global wasm_opts --with-wasmedge %endif +%endif %global built_tag 1.8.6 %global gen_version %(b=%{built_tag}; echo ${b/-/"~"})