diff --git a/haskell-platform.spec b/haskell-platform.spec index 89c129a..4ea02cb 100644 --- a/haskell-platform.spec +++ b/haskell-platform.spec @@ -6,6 +6,7 @@ distilled from Hackage. %bcond_without shared +%bcond_without hscolour %global upstream_version 2010.2.0.0 @@ -57,6 +58,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-prof BuildRequires: ghc-rpm-macros >= 0.8.1 +%if %{with hscolour} +BuildRequires: hscolour +%endif %platform_progs Build %platform_libs devel Build %platform_progs @@ -159,6 +163,7 @@ fi %changelog * Fri Nov 26 2010 Jens Petersen - 2010.2.0.0.701-1 - bump some versions for ghc-7.0.1 +- add hscolour * Fri Jul 23 2010 Jens Petersen - 2010.2.0.0-1 - update to 2010.2.0.0 final release (no actual changes)