add ppc64

This commit is contained in:
Jens Petersen 2011-05-25 18:17:29 +09:00
parent d9b7ad9e9b
commit 18dffc56c4
1 changed files with 7 additions and 10 deletions

View File

@ -1,21 +1,15 @@
# need to link statically when building new version of ghc
%bcond_without dynamic
# ghc does not emit debug information
%global debug_package %{nil}
Name: happy
# part of haskell-platform-2011.1.0.0
# part of haskell-platform-2011.2.0.0
Version: 1.18.6
Release: 4%{?dist}
Release: 5%{?dist}
Summary: LALR(1) Parser Generator for Haskell
License: BSD
Group: Development/Tools
URL: http://haskell.org/happy/
Source: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
BuildRequires: ghc, ghc-devel
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
BuildRequires: ghc-devel
BuildRequires: ghc-rpm-macros >= 0.7.0
BuildRequires: autoconf, docbook-dtds, docbook-style-xsl, libxslt, libxml2
BuildRequires: ghc-mtl-devel
@ -58,6 +52,9 @@ cd ..
%changelog
* Wed May 25 2011 Jens Petersen <petersen@redhat.com> - 1.18.6-5
- add ppc64
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.18.6-4
- Enable build on sparcv9