use BR ghc-Cabal-devel and ghc_arches (cabal2spec-0.23.2)

This commit is contained in:
Jens Petersen 2011-06-24 19:01:57 +09:00
parent 600ab73e4c
commit 9e5d9a4146
1 changed files with 8 additions and 6 deletions

View File

@ -13,19 +13,18 @@ color spaces are supported. A module of color names \
Name: ghc-%{pkg_name}
Version: 2.3.1
Release: 8%{?dist}
Release: 9%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: MIT
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
BuildRequires: ghc-base-prof
%description
%{common_description}
@ -50,6 +49,9 @@ echo "%{_datadir}/%{pkg_name}-%{version}/" >> %{name}.files
%changelog
* Fri Jun 24 2011 Jens Petersen <petersen@redhat.com> - 2.3.1-9
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
* Wed May 11 2011 Ben Boeckel <mathstuf@gmail.com> - 2.3.1-8
- Update to cabal2spec-0.22.7