use BR ghc-Cabal-devel and update deps (cabal2spec-0.23.2)

This commit is contained in:
Jens Petersen 2011-06-22 11:54:56 +09:00
parent 1a3916def8
commit 84e00d54e1

View File

@ -6,25 +6,19 @@
original Scrap Your Boilerplate work. It requires few extensions to\ original Scrap Your Boilerplate work. It requires few extensions to\
Haskell. Haskell.
%global ghc_pkg_deps ghc-mtl-devel, ghc-syb-devel
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.6 Version: 1.6
Release: 5%{?dist} Release: 6%{?dist}
Summary: %{common_summary} Summary: %{common_summary}
Group: System Environment/Libraries Group: System Environment/Libraries
License: BSD License: BSD
URL: http://community.haskell.org/~ndm/uniplate/ URL: http://community.haskell.org/~ndm/uniplate/
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
# fedora ghc archs: ExclusiveArch: %{ghc_arches}
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 BuildRequires: ghc-Cabal-devel
BuildRequires: ghc, ghc-doc, ghc-prof BuildRequires: ghc-rpm-macros
BuildRequires: ghc-rpm-macros >= 0.7.3
BuildRequires: hscolour 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-containers-prof, ghc-syb-prof
%description %description
%{common_description} %{common_description}
@ -49,6 +43,10 @@ This package provides the shared library.
%changelog %changelog
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 1.6-6
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
- no longer requires mtl
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.6-5 * Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.6-5
- Enable build on sparcv9 - Enable build on sparcv9