- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16)

epel9
Jens Petersen 16 years ago
parent b1597b51a8
commit 79ac1047dd

@ -6,14 +6,9 @@
# ghc does not emit debug information # ghc does not emit debug information
%global debug_package %{nil} %global debug_package %{nil}
%ifarch ppc
# hack around mysterious runghc fail
%global cabal ./cabal
%endif
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 4000.0.6 Version: 4000.0.6
Release: 1%{?dist} Release: 2%{?dist}
Summary: Haskell HTTP client library Summary: Haskell HTTP client library
Group: Development/Libraries 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) 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
# for latest macros.ghc BuildRequires: ghc
BuildRequires: ghc >= 6.10.2-3 BuildRequires: ghc-rpm-macros
%if %{with doc} %if %{with doc}
BuildRequires: ghc-doc BuildRequires: ghc-doc
%endif %endif
@ -82,8 +77,11 @@ built for ghc-%{ghc_version}.
%build %build
%ifarch ppc %ifarch ppc
# hack around mysterious runghc fail
%global cabal ./cabal
ghc --make Setup -o cabal ghc --make Setup -o cabal
%endif %endif
%cabal_configure --ghc %{?with_prof:-p} %cabal_configure --ghc %{?with_prof:-p}
%cabal build %cabal build
%if %{with doc} %if %{with doc}
@ -145,6 +143,9 @@ fi
%changelog %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 * Sat Apr 25 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-1
- update to 4000.0.6 - update to 4000.0.6
- sync with cabal2spec-0.14 - sync with cabal2spec-0.14

Loading…
Cancel
Save