From b95424a06b5099d4ec97f68b201f3f0b230b076a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Sep 2012 21:18:30 +0900 Subject: [PATCH] ghc-rpm-macros now requires hscolour so packages no longer need to BR it - this can be disabled for bootstrapping by setting without_hscolour --- ghc-rpm-macros.spec | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 3662f58..f4aee22 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -2,8 +2,11 @@ %global macros_file %{_sysconfdir}/rpm/macros.ghc +# uncomment to bootstrap without hscolour +#%%global without_hscolour 1 + Name: ghc-rpm-macros -Version: 0.96 +Version: 0.97 Release: 1%{?dist} Summary: Macros for building packages for GHC @@ -21,6 +24,11 @@ Source2: AUTHORS Source3: ghc-deps.sh Source4: cabal-tweak-dep-ver Requires: redhat-rpm-config +%if %{undefined without_hscolour} +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-rpm-macros, hscolour +Requires: hscolour +%endif %description A set of macros for building GHC packages following the Haskell Guidelines @@ -55,6 +63,12 @@ cat >> %{buildroot}/%{macros_file} <> %{buildroot}/%{macros_file} < - 0.97-1 +- ghc-rpm-macros now requires hscolour so packages no longer need to BR it +- this can be disabled for bootstrapping by setting without_hscolour + * Fri Aug 24 2012 Jens Petersen - 0.96-1 - make haddock build hoogle files - Fedora ghc-7.4.2 Cabal will not build ghci lib files by default