BR ghc-Cabal-devel and use ghc_excluded_archs

This commit is contained in:
Jens Petersen 2011-06-20 10:59:02 +09:00
parent 4c71f00654
commit c7d8cdee1f

View File

@ -5,18 +5,18 @@
%global common_description A HTML combinator library for Haskell.
Name: ghc-%{pkg_name}
# part of haskell-platform-2011.2.0.0
# part of haskell-platform-2011.2.0.1
Version: 1.0.1.2
Release: 10%{?dist}
Release: 11%{?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
@ -40,6 +40,10 @@ BuildRequires: hscolour
%changelog
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-11
- BR ghc-Cabal-devel
- use ghc_excluded_archs
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-10
- update to cabal2spec-0.23: add ppc64