use ghc_bootstrap from ghc-rpm-macros-0.13.5

epel9
Jens Petersen 14 years ago
parent 4c51ba9f2c
commit 4e619cbf5a

@ -1,5 +1,8 @@
%global pkg_name hscolour %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_summary Haskell %{pkg_name} library
%global common_description hscolour is a small Haskell script to colourize Haskell code.\ %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 <font> tags, HTML 4.01 with CSS, XHTML 1.0 with inline CSS\ with <font> tags, HTML 4.01 with CSS, XHTML 1.0 with inline CSS\
styling, LaTeX, and mIRC chat client codes. styling, LaTeX, and mIRC chat client codes.
# build without self by default
%global without_hscolour 1
Name: %{pkg_name} Name: %{pkg_name}
Version: 1.19 Version: 1.19
Release: 1%{?dist} Release: 1%{?dist}
@ -22,7 +22,7 @@ Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%
# fedora ghc archs: # fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros >= 0.13.5
%if %{undefined without_hscolour} %if %{undefined without_hscolour}
BuildRequires: hscolour BuildRequires: hscolour
%endif %endif
@ -57,7 +57,7 @@ BuildRequires: ghc-containers-prof
%changelog %changelog
* Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 1.19-1 * Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 1.19-1
- update to 1.19 - update to 1.19
- disable self BR by default - use ghc_bootstrap from ghc-rpm-macros-0.13.5
- just depends on containers - just depends on containers
* Thu May 05 2011 Jiri Skala <jskala@redhat.com> - 1.17-10 * Thu May 05 2011 Jiri Skala <jskala@redhat.com> - 1.17-10

Loading…
Cancel
Save