update for cabal2spec-0.23.2

This commit is contained in:
Jens Petersen 2011-06-24 18:46:06 +09:00
parent f2c786f8bf
commit b3be130f5c
1 changed files with 8 additions and 9 deletions

View File

@ -13,24 +13,20 @@ representation of those elements. Patricia trees have \
efficient algorithms for union and other merging operations, \
but they're also quick for lookups and insertions.
%global ghc_pkg_deps ghc-binary-devel
Name: ghc-%{pkg_name}
Version: 0.2.3
Release: 4%{?dist}
Release: 5%{?dist}
Summary: %{common_summary}
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-binary-prof
%description
%{common_description}
@ -54,6 +50,9 @@ BuildRequires: hscolour
%changelog
* Fri Jun 24 2011 Jens Petersen <petersen@redhat.com> - 0.2.3-5
- 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> - 0.2.3-4
- Update to cabal2spec-0.22.7