BR ghc-Cabal-devel and use ghc_excluded_archs

This commit is contained in:
Jens Petersen 2011-06-20 11:29:27 +09:00
parent d3525eea4d
commit 34356c6c95

View File

@ -8,18 +8,18 @@
%global ghc_pkg_deps
Name: ghc-%{pkg_name}
# part of haskell-platform-2011.2.0.0
# part of haskell-platform-2011.2.0.1
Version: 0.93.1
Release: 7%{?dist}
Release: 8%{?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
# ghc_excluded_archs is defined in redhat-rpm-config
ExcludeArch: %{ghc_excluded_archs}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
BuildRequires: ghc-regex-posix-prof
@ -44,6 +44,9 @@ BuildRequires: ghc-regex-posix-prof
%changelog
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 0.93.1-8
- BR ghc-Cabal-devel and use ghc_excluded_archs
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.93.1-6
- Enable build on sparcv9