|
|
|
@ -4,12 +4,10 @@
|
|
|
|
|
|
|
|
|
|
%global common_description A Haskell library for client-side HTTP.
|
|
|
|
|
|
|
|
|
|
%global ghc_pkg_deps ghc-network-devel ghc-mtl-devel
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform-2011.1.0.0
|
|
|
|
|
Version: 4000.1.1
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -17,11 +15,11 @@ License: BSD
|
|
|
|
|
URL: http://projects.haskell.org/http/
|
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
# fedora ghc archs:
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
|
|
|
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
|
|
|
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
|
|
|
|
BuildRequires: ghc-prof
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: hscolour
|
|
|
|
|
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
|
|
|
|
BuildRequires: ghc-network-prof ghc-mtl-prof
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
@ -43,6 +41,9 @@ BuildRequires: hscolour
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 4000.1.1-6
|
|
|
|
|
- update to cabal2spec-0.23: add ppc64
|
|
|
|
|
|
|
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 4000.1.1-5
|
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
|
|
|
|
|