From 7eeada86246ef3745aad454fda4edb54dfae0175 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Oct 2012 16:49:08 +0900 Subject: [PATCH] enable hscolour normally, drop BR hscolour, without_hscolour bootstrap now in ghc-rpm-macros --- ghc.spec | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/ghc.spec b/ghc.spec index 41898bd..cb4f958 100644 --- a/ghc.spec +++ b/ghc.spec @@ -1,16 +1,14 @@ # Shared haskell libraries are supported for x86* archs # (disabled for other archs in ghc-rpm-macros) -# To bootstrap a new version of ghc, uncomment the following: +# To bootstrap build a new version of ghc, uncomment the following: %global ghc_bootstrapping 1 %{?ghc_bootstrap} -%global without_hscolour 1 %global without_testsuite 1 # To do a test build instead with shared libs, uncomment the following: #%%global ghc_bootstrapping 1 #%%{?ghc_test} -#%%global without_hscolour 1 #%%global without_testsuite 1 # unregisterized archs @@ -68,9 +66,6 @@ BuildRequires: ncurses-devel %if %{undefined without_manual} BuildRequires: libxslt, docbook-style-xsl %endif -%if %{undefined without_haddock} && %{undefined without_hscolour} -BuildRequires: hscolour -%endif %if %{undefined without_testsuite} BuildRequires: python %endif @@ -241,9 +236,6 @@ HADDOCK_DOCS = NO %if %{defined without_manual} BUILD_DOCBOOK_HTML = NO %endif -%if %{undefined without_hscolour} -HSCOLOUR_SRCS = NO -%endif EOF export CFLAGS="${CFLAGS:-%optflags}" @@ -432,6 +424,9 @@ fi - use Karel Gardas' ARM hardfloat patch committed upstream - use _smp_mflags again - disable Cabal building ghci lib files +- do not disable hscolour in build.mk +- drop the explicit hscolour BR +- without_hscolour should now be set by ghc-rpm-macros for bootstrapping * Thu Jul 19 2012 Fedora Release Engineering - 7.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild