[ghc] enable hscolour normally, drop BR hscolour, without_hscolour bootstrap now in ghc-rpm-macros

Jens Petersen petersen at fedoraproject.org
Thu Oct 25 07:49:22 UTC 2012


commit 356d662fcc618ebfaf4ffca47c19501404c803a1
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Oct 25 16:49:08 2012 +0900

    enable hscolour normally, drop BR hscolour, without_hscolour bootstrap now in ghc-rpm-macros

 ghc.spec |   13 ++++---------
 1 files 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 <rel-eng at lists.fedoraproject.org> - 7.4.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list