diff --git a/.gitignore b/.gitignore index 6485beb..764d10a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /async-2.0.1.4.tar.gz +/async-2.0.1.5.tar.gz diff --git a/ghc-async.spec b/ghc-async.spec index 1caf504..ed31383 100644 --- a/ghc-async.spec +++ b/ghc-async.spec @@ -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 - 2.0.1.5-1 +- update to 2.0.1.5 + * Tue Jul 8 2014 Jens Petersen - 2.0.1.4-31 - f21 rebuild diff --git a/sources b/sources index 91f0b38..ff38305 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b62af9134df64aaa6868a7c50c856c38 async-2.0.1.4.tar.gz +fa571b9056764ed6d419dadd1349d1e3 async-2.0.1.5.tar.gz