BR ghc-Cabal-devel and use ghc_excluded_archs

This commit is contained in:
Jens Petersen 2011-06-20 11:29:09 +09:00
parent 45b8a77d28
commit fbbe045ac5

View File

@ -5,18 +5,18 @@
%global common_description A Haskell network library. %global common_description A Haskell network library.
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
# part of haskell-platform-2011.2.0.0 # part of haskell-platform-2011.2.0.1
Version: 2.3.0.2 Version: 2.3.0.2
Release: 3%{?dist} Release: 4%{?dist}
Summary: %{common_summary} Summary: %{common_summary}
Group: System Environment/Libraries Group: System Environment/Libraries
License: BSD License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name} URL: http://hackage.haskell.org/package/%{pkg_name}
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: # ghc_excluded_archs is defined in redhat-rpm-config
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 ExcludeArch: %{ghc_excluded_archs}
BuildRequires: ghc-prof BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: hscolour BuildRequires: hscolour
BuildRequires: ghc-parsec-prof BuildRequires: ghc-parsec-prof
@ -41,6 +41,9 @@ BuildRequires: ghc-parsec-prof
%changelog %changelog
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 2.3.0.2-4
- BR ghc-Cabal-devel and use ghc_excluded_archs
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 2.3.0.2-3 * Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 2.3.0.2-3
- update to cabal2spec-0.23: add ppc64 - update to cabal2spec-0.23: add ppc64