From 63a2061ee7ed0f4ce33065600bd6b3e5d81b738e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Feb 12 2024 16:50:57 +0000 Subject: condition the riscv64 patches Patching Cabal would cause the ABI hash to change causing major rawhide breakage --- diff --git a/ghc.spec b/ghc.spec index 4898260..d4590ab 100644 --- a/ghc.spec +++ b/ghc.spec @@ -479,11 +479,12 @@ rm libffi-tarballs/libffi-*.tar.gz %patch -P30 -p1 -b .orig %endif +%ifarch riscv64 #RISCV64 cabal support %patch -P40 -p1 -b .orig - #GHCi support %patch -P41 -p1 -b .orig +%endif %if %{with haddock} && %{without hadrian} %global gen_contents_index gen_contents_index.orig