From 0413f6af476cd75494264c63c393f5ce72c40550 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 23 Jun 2016 17:53:25 +0900 Subject: [PATCH] update to 1.2.10 --- .gitignore | 1 + ghc-hslogger.spec | 16 +++++++++++++++- sources | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 48f2bcd..08b2e05 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /hslogger-1.2.1.tar.gz /hslogger-1.2.6.tar.gz /hslogger-1.2.9.tar.gz +/hslogger-1.2.10.tar.gz diff --git a/ghc-hslogger.spec b/ghc-hslogger.spec index 321533d..4dd218e 100644 --- a/ghc-hslogger.spec +++ b/ghc-hslogger.spec @@ -2,8 +2,10 @@ %global pkg_name hslogger +%bcond_without tests + Name: ghc-%{pkg_name} -Version: 1.2.9 +Version: 1.2.10 Release: 1%{?dist} Summary: Versatile logging framework @@ -22,6 +24,9 @@ BuildRequires: ghc-old-locale-devel BuildRequires: ghc-process-devel BuildRequires: ghc-time-devel BuildRequires: ghc-unix-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +%endif # End cabal-rpm deps %description @@ -60,6 +65,12 @@ This package provides the Haskell %{pkg_name} library development files. rm %{buildroot}%{ghc_pkgdocdir}/LICENSE +%check +%if %{with tests} +%cabal test +%endif + + %post devel %ghc_pkg_recache @@ -76,6 +87,9 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %changelog +* Thu Jun 23 2016 Jens Petersen - 1.2.10-1 +- update to 1.2.10 + * Mon Jun 20 2016 Jens Petersen - 1.2.9-1 - update to 1.2.9 diff --git a/sources b/sources index f205d70..8a3ad9f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -db8fd8ac6f8085317d66821ee27acd20 hslogger-1.2.9.tar.gz +fd014c58631c952d0c99fb109cdff9f8 hslogger-1.2.10.tar.gz