diff --git a/hscolour.spec b/hscolour.spec index c2012cf..82e3e98 100644 --- a/hscolour.spec +++ b/hscolour.spec @@ -1,5 +1,8 @@ %global pkg_name hscolour +# use this to bootstrap after building a new ghc version +%ghc_bootstrap + %global common_summary Haskell %{pkg_name} library %global common_description hscolour is a small Haskell script to colourize Haskell code.\ @@ -7,9 +10,6 @@ It currently has six output formats: ANSI terminal codes, HTML 3.2\ with tags, HTML 4.01 with CSS, XHTML 1.0 with inline CSS\ styling, LaTeX, and mIRC chat client codes. -# build without self by default -%global without_hscolour 1 - Name: %{pkg_name} Version: 1.19 Release: 1%{?dist} @@ -22,7 +22,7 @@ Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/% # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros +BuildRequires: ghc-rpm-macros >= 0.13.5 %if %{undefined without_hscolour} BuildRequires: hscolour %endif @@ -57,7 +57,7 @@ BuildRequires: ghc-containers-prof %changelog * Fri Jun 17 2011 Jens Petersen - 1.19-1 - update to 1.19 -- disable self BR by default +- use ghc_bootstrap from ghc-rpm-macros-0.13.5 - just depends on containers * Thu May 05 2011 Jiri Skala - 1.17-10