update to cabal2spec-0.23: add ppc64

This commit is contained in:
Jens Petersen 2011-05-27 17:54:32 +09:00
parent cce684a3e3
commit b71e57a9f9
1 changed files with 8 additions and 11 deletions

View File

@ -6,13 +6,10 @@
%global ghc_pkg_c_deps mesa-libGL-devel, mesa-libGLU-devel
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
# part of haskell-platform-2010.2.0.0
# part of haskell-platform-2011.2.0.0
Version: 2.2.3.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@ -20,17 +17,14 @@ License: BSD
URL: http://www.haskell.org/haskellwiki/Opengl
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
BuildRequires: ghc, ghc-doc, ghc-prof
BuildRequires: ghc-rpm-macros >= 0.7.3
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
BuildRequires: ghc-prof
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
%description
%{common_description}
%if %{with shared}
This package provides the shared library.
%endif
%prep
@ -49,6 +43,9 @@ This package provides the shared library.
%changelog
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 2.2.3.0-8
- update to cabal2spec-0.23: add ppc64
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.2.3.0-7
- Enable build on sparcv9