diff --git a/ghc-hashable.spec b/ghc-hashable.spec index 6d85f8a..8aac7b6 100644 --- a/ghc-hashable.spec +++ b/ghc-hashable.spec @@ -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 - 1.1.2.1-2 +- condition BR hscolour + * Mon Aug 22 2011 Jens Petersen - 1.1.2.1-1 - BSD