condition BR hscolour

This commit is contained in:
Jens Petersen 2011-10-08 21:19:46 +09:00
parent e7298d5ab7
commit 3608e5860e

View File

@ -15,18 +15,21 @@ basic types and a way to combine hash values.
Name: ghc-%{pkg_name}
Version: 1.1.2.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
# macros for building haskell packages
BuildRequires: ghc-rpm-macros
%if %{undefined without_hscolour}
BuildRequires: hscolour
%endif
# END cabal2spec
BuildRequires: ghc-bytestring-prof, ghc-text-prof
%description
@ -51,6 +54,9 @@ BuildRequires: ghc-bytestring-prof, ghc-text-prof
%changelog
* Sat Oct 8 2011 Jens Petersen <petersen@redhat.com> - 1.1.2.1-2
- condition BR hscolour
* Mon Aug 22 2011 Jens Petersen <petersen@redhat.com> - 1.1.2.1-1
- BSD