From 898edc65df57ad4119455ef48062966064ca5b6d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 8 Nov 2010 11:12:12 +1000 Subject: [PATCH] use libffi bcond for the ghc-tarballs removal too --- ghc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc.spec b/ghc.spec index 5aa925a..f6121e8 100644 --- a/ghc.spec +++ b/ghc.spec @@ -125,7 +125,10 @@ They should be installed when GHC's profiling subsystem is needed. %endif # use system libraries -rm -r ghc-tarballs +rm -r ghc-tarballs/{mingw,perl} +%if %{with libffi} +rm -r ghc-tarballs/libffi +%endif %build cat > mk/build.mk << EOF