From 84e2059c519e254093af6147e25bd9be4eba717e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:54:52 +0100 Subject: [PATCH] update to 0.14.2 --- .gitignore | 1 + ghc-tagsoup.spec | 20 ++++++++++++++++++-- sources | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 745127d..9d3add3 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /tagsoup-0.13.9.tar.gz /tagsoup-0.13.10.tar.gz /tagsoup-0.14.tar.gz +/tagsoup-0.14.2.tar.gz diff --git a/ghc-tagsoup.spec b/ghc-tagsoup.spec index 544ca7f..85acd7f 100644 --- a/ghc-tagsoup.spec +++ b/ghc-tagsoup.spec @@ -4,9 +4,11 @@ %global pkg_name tagsoup %global pkgver %{pkg_name}-%{version} +%bcond_without tests + Name: ghc-%{pkg_name} -Version: 0.14 -Release: 3%{?dist} +Version: 0.14.2 +Release: 1%{?dist} Summary: Parsing and extracting information from (possibly malformed) HTML/XML documents License: BSD @@ -19,6 +21,13 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-text-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-process-devel +BuildRequires: ghc-time-devel +%endif # End cabal-rpm deps %description @@ -57,6 +66,10 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_lib_install +%check +%cabal_test + + %post -p /sbin/ldconfig @@ -80,6 +93,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 24 2018 Jens Petersen - 0.14.2-1 +- update to 0.14.2 + * Wed Aug 02 2017 Fedora Release Engineering - 0.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 8fa14d2..55a1d29 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tagsoup-0.14.tar.gz) = 782550d6859521d3dc42452457ae1620750bbd7aaa9f794d840719be51c7f0891be6ea18fc2cc93c7b8ab79da0daa954fc7d620038a4d87b4486fb0da0041b54 +SHA512 (tagsoup-0.14.2.tar.gz) = fb2fed58857a168783f6cdd1905503b386f2cc39183cc250acfcc7ed1713e2d85b084eb5682d230afe6372b3dfdcb90111358aacfabe200558e9e64f0a16a1a4