From 10ede6d8ab1cec854310938303e9b760de4784d7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 24 Feb 2012 11:16:14 +0900 Subject: [PATCH] add %_isa to external dependencies --- ghc.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ghc.spec b/ghc.spec index 39807e2..76e626a 100644 --- a/ghc.spec +++ b/ghc.spec @@ -4,8 +4,8 @@ # To bootstrap a new version of ghc, uncomment the following: %global ghc_bootstrapping 1 %{?ghc_bootstrap} -#%%global without_hscolour 1 -#%%global without_testsuite 1 +%global without_hscolour 1 +%global without_testsuite 1 # To do a test build instead with shared libs, uncomment the following: #%%global ghc_bootstrapping 1 @@ -118,8 +118,8 @@ for the functional language Haskell. Highlights: Summary: GHC compiler and utilities License: BSD Group: Development/Languages -Requires: gcc -Requires: ghc-base-devel +Requires: gcc%{?_isa} +Requires: ghc-base-devel%{?_isa} Requires(post): chkconfig Requires(postun): chkconfig # added in f14 @@ -145,7 +145,7 @@ To install all of ghc, install the ghc base package. %if %{defined ghclibdir} %ghc_binlib_package Cabal 1.14.0 %ghc_binlib_package -l %BSDHaskellReport array 0.4.0.0 -%ghc_binlib_package -l %BSDHaskellReport -c gmp-devel,libffi-devel base 4.5.0.0 +%ghc_binlib_package -l %BSDHaskellReport -c gmp-devel%{?_isa},libffi-devel%{?_isa} base 4.5.0.0 %ghc_binlib_package binary 0.5.1.0 %ghc_binlib_package bytestring 0.9.2.1 %ghc_binlib_package -l %BSDHaskellReport containers 0.4.2.1