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} Name: ghc-%{pkg_name}
Version: 1.1.2.1 Version: 1.1.2.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: %{common_summary} Summary: %{common_summary}
Group: System Environment/Libraries Group: System Environment/Libraries
License: BSD License: BSD
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name} URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches} ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
# macros for building haskell packages
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
%if %{undefined without_hscolour}
BuildRequires: hscolour BuildRequires: hscolour
%endif
# END cabal2spec
BuildRequires: ghc-bytestring-prof, ghc-text-prof BuildRequires: ghc-bytestring-prof, ghc-text-prof
%description %description
@ -51,6 +54,9 @@ BuildRequires: ghc-bytestring-prof, ghc-text-prof
%changelog %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 * Mon Aug 22 2011 Jens Petersen <petersen@redhat.com> - 1.1.2.1-1
- BSD - BSD