From d4e7a645c62c3239bf27112638fcaf46120ac01d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 28 Aug 2014 16:36:17 +0900 Subject: [PATCH] update to 0.6.1.0 --- .gitignore | 1 + ghc-blaze-markup.spec | 32 ++++++++++++++++++++++++++++---- sources | 2 +- 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2c4ffc4..f72c93d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /blaze-markup-0.5.1.0.tar.gz /blaze-markup-0.5.1.1.tar.gz /blaze-markup-0.5.1.5.tar.gz +/blaze-markup-0.6.1.0.tar.gz diff --git a/ghc-blaze-markup.spec b/ghc-blaze-markup.spec index 7ff2850..f382e69 100644 --- a/ghc-blaze-markup.spec +++ b/ghc-blaze-markup.spec @@ -2,14 +2,19 @@ %global pkg_name blaze-markup +%bcond_with tests + +# no useful debuginfo for Haskell packages without C sources +%global debug_package %{nil} + Name: ghc-%{pkg_name} -Version: 0.5.1.5 -Release: 5%{?dist} +Version: 0.6.1.0 +Release: 1%{?dist} Summary: A blazingly fast markup combinator library for Haskell License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -17,6 +22,14 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-text-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +%endif # End cabal-rpm deps %description @@ -27,10 +40,11 @@ point, as well as this tutorial: . %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} -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. @@ -48,6 +62,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 @@ -64,6 +84,10 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Aug 28 2014 Jens Petersen - 0.6.1.0-1 +- update to 0.6.1.0 +- refresh to cblrpm-0.8.11 + * Sat Aug 16 2014 Fedora Release Engineering - 0.5.1.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index dc34ac9..4c8a264 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -faf0c80851b34987e74541b23cef3218 blaze-markup-0.5.1.5.tar.gz +96d06fca820cb883866e12b2f73d99c9 blaze-markup-0.6.1.0.tar.gz