diff --git a/ghc-cmdargs.spec b/ghc-cmdargs.spec index 1f69c6e..6cd7d69 100644 --- a/ghc-cmdargs.spec +++ b/ghc-cmdargs.spec @@ -9,24 +9,20 @@ %global common_description This library provides an easy way to define command line \ parsers. -%global ghc_pkg_deps ghc-transformers-devel - Name: ghc-%{pkg_name} Version: 0.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Haskell %{pkg_name} Group: System Environment/Libraries License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -# fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 -BuildRequires: ghc, ghc-doc, ghc-prof -# macros for building haskell packages -BuildRequires: ghc-rpm-macros >= 0.7.3 +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros BuildRequires: hscolour -%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} +BuildRequires: ghc-transformers-prof %description %{common_description} @@ -52,6 +48,9 @@ rm -vf %{buildroot}/%{_bindir}/%{pkg_name} %changelog +* Fri Jun 24 2011 Jens Petersen - 0.7-3 +- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2) + * Wed May 11 2011 Ben Boeckel - 0.7-2 - Update to cabal2spec-0.22.7