condition the riscv64 patches

Patching Cabal would cause the ABI hash to change causing major
rawhide breakage
This commit is contained in:
Jens Petersen 2024-02-13 00:50:57 +08:00
parent 2c11fbebc0
commit 63a2061ee7
1 changed files with 2 additions and 1 deletions

View File

@ -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