From 15dad9a43f4e8eeb4c9f8bfb1007e318949b3ef8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 29 Oct 2014 00:30:33 +0900 Subject: [PATCH] update to 0.4.1.4 --- .gitignore | 1 + ghc-cookie.spec | 28 ++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7ac4d94..988102a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /cookie-0.4.0.1.tar.gz +/cookie-0.4.1.4.tar.gz diff --git a/ghc-cookie.spec b/ghc-cookie.spec index 6216aed..8f1df3d 100644 --- a/ghc-cookie.spec +++ b/ghc-cookie.spec @@ -2,9 +2,14 @@ %global pkg_name cookie +%bcond_with tests + +# no useful debuginfo for Haskell packages without C sources +%global debug_package %{nil} + Name: ghc-%{pkg_name} -Version: 0.4.0.1 -Release: 4%{?dist} +Version: 0.4.1.4 +Release: 1%{?dist} Summary: HTTP cookie parsing and rendering License: BSD @@ -17,9 +22,17 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-data-default-devel +BuildRequires: ghc-deepseq-devel BuildRequires: ghc-old-locale-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel +%endif # End cabal-rpm deps %description @@ -28,6 +41,7 @@ HTTP cookie parsing and rendering. %package devel Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} @@ -49,6 +63,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 @@ -65,6 +85,10 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Tue Oct 28 2014 Jens Petersen - 0.4.1.4-1 +- update to 0.4.1.4 +- refresh to cblrpm-0.8.11 + * Sat Aug 16 2014 Fedora Release Engineering - 0.4.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index fdedf1b..0847bdf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7fb7757198da9e7f13248b848dbfc12c cookie-0.4.0.1.tar.gz +488c3a187fb1e3c4d60557c45d97cbf2 cookie-0.4.1.4.tar.gz