BR ghc-Cabal-devel and use ghc_excluded_archs

epel9
Jens Petersen 14 years ago
parent c79a033f5d
commit c0d1efa2f8

@ -16,21 +16,21 @@ observe the distribution of test data, and define test data generators.
%global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel
Name: ghc-%{pkg_name}
# part of haskell-platform-2011.2.0.0
# part of haskell-platform-2011.2.0.1
Version: 2.4.0.1
Release: 6%{?dist}
Release: 7%{?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-prof
# no ghci on ppc64
ExcludeArch: %{ghc_excluded_archs} ppc64
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
BuildRequires: ghc-ghc-prof, ghc-mtl-prof
BuildRequires: ghc-mtl-prof, ghc-random-prof
%description
%{common_description}
@ -52,6 +52,9 @@ BuildRequires: ghc-ghc-prof, ghc-mtl-prof
%changelog
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 2.4.0.1-7
- BR ghc-Cabal-devel and use ghc_excluded_archs
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 2.4.0.1-6
- update to cabal2spec-0.23: add ppc64

Loading…
Cancel
Save