|
|
|
@ -2,13 +2,15 @@
|
|
|
|
|
|
|
|
|
|
%global pkg_name async
|
|
|
|
|
|
|
|
|
|
%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: 2.0.1.4
|
|
|
|
|
Release: 31%{?dist}
|
|
|
|
|
Version: 2.0.1.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Asynchronous IO operations
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -19,6 +21,11 @@ BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: ghc-stm-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-hunit-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -61,6 +68,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
|
|
|
|
|
|
|
|
|
@ -77,6 +90,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Aug 8 2014 Jens Petersen <petersen@redhat.com> - 2.0.1.5-1
|
|
|
|
|
- update to 2.0.1.5
|
|
|
|
|
|
|
|
|
|
* Tue Jul 8 2014 Jens Petersen <petersen@redhat.com> - 2.0.1.4-31
|
|
|
|
|
- f21 rebuild
|
|
|
|
|
|
|
|
|
|