|
|
|
@ -2,10 +2,15 @@
|
|
|
|
|
|
|
|
|
|
%global pkg_name HTTP
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
# no useful debuginfo for Haskell packages without C sources
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform
|
|
|
|
|
Version: 4000.2.8
|
|
|
|
|
Release: 32%{?dist}
|
|
|
|
|
Version: 4000.2.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A library for client-side HTTP
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -21,6 +26,20 @@ BuildRequires: ghc-mtl-devel
|
|
|
|
|
BuildRequires: ghc-network-devel
|
|
|
|
|
BuildRequires: ghc-old-time-devel
|
|
|
|
|
BuildRequires: ghc-parsec-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
BuildRequires: ghc-case-insensitive-devel
|
|
|
|
|
BuildRequires: ghc-conduit-devel
|
|
|
|
|
BuildRequires: ghc-deepseq-devel
|
|
|
|
|
BuildRequires: ghc-http-types-devel
|
|
|
|
|
BuildRequires: ghc-httpd-shed-devel
|
|
|
|
|
BuildRequires: ghc-pureMD5-devel
|
|
|
|
|
BuildRequires: ghc-split-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-hunit-devel
|
|
|
|
|
BuildRequires: ghc-wai-devel
|
|
|
|
|
BuildRequires: ghc-warp-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -66,6 +85,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%cabal test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
@ -82,6 +107,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 30 2014 Jens Petersen <petersen@redhat.com> - 4000.2.10-1
|
|
|
|
|
- update to 4000.2.10
|
|
|
|
|
|
|
|
|
|
* Wed Mar 26 2014 Jens Petersen <petersen@redhat.com> - 4000.2.8-32
|
|
|
|
|
- bump over haskell-platform
|
|
|
|
|
|
|
|
|
|