From 4e619cbf5afa3f93cac5cf433f7b3ef5ddf9e8d1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jun 2011 17:13:48 +0900 Subject: [PATCH] use ghc_bootstrap from ghc-rpm-macros-0.13.5 --- hscolour.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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