ppc runghc workaround no longer needed

This commit is contained in:
Jens Petersen 2009-06-02 10:15:00 +00:00
parent 9853cadb8e
commit 5aac1cb2fd

View File

@ -8,7 +8,7 @@
Name: xmonad Name: xmonad
Version: 0.8.1 Version: 0.8.1
Release: 13%{?dist} Release: 14%{?dist}
Summary: A tiling window manager Summary: A tiling window manager
Group: User Interface/X Group: User Interface/X
@ -21,8 +21,7 @@ Patch0: xmonad-config-manpage.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs: # fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc BuildRequires: ghc, ghc-rpm-macros
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-X11-devel >= %{X11_version} BuildRequires: ghc-X11-devel >= %{X11_version}
%if %{with doc} %if %{with doc}
BuildRequires: ghc-doc BuildRequires: ghc-doc
@ -93,12 +92,6 @@ This package contains profiling libraries for %{name}.
%patch0 -p1 -b .orig %patch0 -p1 -b .orig
%build %build
%ifarch ppc
# hack around mysterious runghc fail
%global cabal ./cabal
ghc --make Setup -o cabal
%endif
%cabal_configure --ghc %{?with_prof:-p} %cabal_configure --ghc %{?with_prof:-p}
%cabal build %cabal build
%if %{with doc} %if %{with doc}
@ -173,6 +166,9 @@ fi
%changelog %changelog
* Tue Jun 2 2009 Jens Petersen <petersen@redhat.com> - 0.8.1-14
- ppc runghc workaround no longer needed
* Sat May 16 2009 Jens Petersen <petersen@redhat.com> - 0.8.1-13 * Sat May 16 2009 Jens Petersen <petersen@redhat.com> - 0.8.1-13
- buildrequires ghc-rpm-macros (cabal2spec-0.16) - buildrequires ghc-rpm-macros (cabal2spec-0.16)
- rebuild for ghc-6.10.3 - rebuild for ghc-6.10.3