|
|
|
@ -6,14 +6,9 @@
|
|
|
|
|
# ghc does not emit debug information
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%ifarch ppc
|
|
|
|
|
# hack around mysterious runghc fail
|
|
|
|
|
%global cabal ./cabal
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 4000.0.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Haskell HTTP client library
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -23,8 +18,8 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
# fedora ghc archs:
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
|
|
|
|
# for latest macros.ghc
|
|
|
|
|
BuildRequires: ghc >= 6.10.2-3
|
|
|
|
|
BuildRequires: ghc
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
%if %{with doc}
|
|
|
|
|
BuildRequires: ghc-doc
|
|
|
|
|
%endif
|
|
|
|
@ -82,8 +77,11 @@ 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}
|
|
|
|
@ -145,6 +143,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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)
|
|
|
|
|
|
|
|
|
|
* Sat Apr 25 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-1
|
|
|
|
|
- update to 4000.0.6
|
|
|
|
|
- sync with cabal2spec-0.14
|
|
|
|
|