[ghc-async] update to 2.0.1.5

Jens Petersen petersen at fedoraproject.org
Fri Aug 8 13:46:46 UTC 2014


commit a2a5c3d9058d1e8eefdc171eaf51a0d1e317f2c2
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Aug 8 15:46:06 2014 +0200

    update to 2.0.1.5

 .gitignore     |    1 +
 ghc-async.spec |   20 ++++++++++++++++++--
 sources        |    2 +-
 3 files changed, 20 insertions(+), 3 deletions(-)
---
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 <petersen at redhat.com> - 2.0.1.5-1
+- update to 2.0.1.5
+
 * Tue Jul  8 2014 Jens Petersen <petersen at redhat.com> - 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


More information about the scm-commits mailing list