- ppc workaround no longer needed with ghc-6.10.3

- provide ghc-HTTP (cabal2spec-0.17)
This commit is contained in:
Jens Petersen 2009-05-29 23:33:35 +00:00
parent 79ac1047dd
commit 4b98854e58

View File

@ -7,8 +7,9 @@
%global debug_package %{nil}
Name: ghc-%{pkg_name}
# part of haskell-platform
Version: 4000.0.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Haskell HTTP client library
Group: Development/Libraries
@ -34,6 +35,7 @@ A Haskell library for client-side HTTP.
%package devel
Summary: Haskell %{pkg_name} library
Group: Development/Libraries
Provides: ghc-%{pkg_name} = %{version}-%{release}
Requires: ghc = %{ghc_version}
Requires(post): ghc = %{ghc_version}
Requires(preun): ghc = %{ghc_version}
@ -76,12 +78,6 @@ built for ghc-%{ghc_version}.
%build
%ifarch ppc
# hack around mysterious runghc fail
%global cabal ./cabal
ghc --make Setup -o cabal
%endif
%cabal_configure --ghc %{?with_prof:-p}
%cabal build
%if %{with doc}
@ -143,6 +139,10 @@ fi
%changelog
* Sat May 30 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-3
- ppc workaround no longer needed with ghc-6.10.3
- provide ghc-HTTP (cabal2spec-0.17)
* Wed May 13 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-2
- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16)