- ppc workaround no longer needed with ghc-6.10.3
- provide ghc-HTTP (cabal2spec-0.17)
This commit is contained in:
parent
79ac1047dd
commit
4b98854e58
@ -7,8 +7,9 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
|
# part of haskell-platform
|
||||||
Version: 4000.0.6
|
Version: 4000.0.6
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Haskell HTTP client library
|
Summary: Haskell HTTP client library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -34,6 +35,7 @@ A Haskell library for client-side HTTP.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library
|
Summary: Haskell %{pkg_name} library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
Provides: ghc-%{pkg_name} = %{version}-%{release}
|
||||||
Requires: ghc = %{ghc_version}
|
Requires: ghc = %{ghc_version}
|
||||||
Requires(post): ghc = %{ghc_version}
|
Requires(post): ghc = %{ghc_version}
|
||||||
Requires(preun): ghc = %{ghc_version}
|
Requires(preun): ghc = %{ghc_version}
|
||||||
@ -76,12 +78,6 @@ built for ghc-%{ghc_version}.
|
|||||||
|
|
||||||
|
|
||||||
%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}
|
||||||
@ -143,6 +139,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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)
|
- rebuild with ghc-rpm-macros and ghc-6.10.3 (cabal2spec-0.16)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user