From 9ddab99f44f82aed294ff8f2f6438fda02d07ab2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 26 Oct 2016 15:26:19 +0900 Subject: [PATCH] condition removal of libffi-tarballs for rhel7/fedora --- ghc.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc.spec b/ghc.spec index 716ad61..83183a1 100644 --- a/ghc.spec +++ b/ghc.spec @@ -241,7 +241,9 @@ except the ghc library, which is installed by the toplevel ghc metapackage. # gen_contents_index: use absolute path for haddock %patch1 -p1 -b .orig +%if 0%{?fedora} || 0%{?rhel} > 6 rm -r libffi-tarballs +%endif %ifarch armv7hl %patch22 -p1 -b .orig