From f410e493f71c979134c8f8699785820ca45de9d2e6045c8bb6e294f14fbf1ea1 Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Mon, 4 May 2015 17:28:19 +0000 Subject: [PATCH] Accepting request 304888 from devel:languages:haskell:lts - update to 0.7.0.2 * Add combinators to insert HTML comments * Add `Applicative` instance for `MarkupM` OBS-URL: https://build.opensuse.org/request/show/304888 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-blaze-markup?expand=0&rev=7 --- blaze-markup-0.6.1.1.tar.gz | 3 --- blaze-markup-0.7.0.2.tar.gz | 3 +++ ghc-blaze-markup.changes | 7 +++++++ ghc-blaze-markup.spec | 41 +++++++++++++++++++++++-------------- 4 files changed, 36 insertions(+), 18 deletions(-) delete mode 100644 blaze-markup-0.6.1.1.tar.gz create mode 100644 blaze-markup-0.7.0.2.tar.gz diff --git a/blaze-markup-0.6.1.1.tar.gz b/blaze-markup-0.6.1.1.tar.gz deleted file mode 100644 index 37d3bc4..0000000 --- a/blaze-markup-0.6.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad484263f2f0978fd919627717c5a2ec923f19f401f1471ec259558ddd7306aa -size 12759 diff --git a/blaze-markup-0.7.0.2.tar.gz b/blaze-markup-0.7.0.2.tar.gz new file mode 100644 index 0000000..9b8e1b4 --- /dev/null +++ b/blaze-markup-0.7.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4068a284834d8fe68df5ec63a037b92b7c956a82c0c72d7beca8d670fd5725c +size 13440 diff --git a/ghc-blaze-markup.changes b/ghc-blaze-markup.changes index 8767f6f..5066144 100644 --- a/ghc-blaze-markup.changes +++ b/ghc-blaze-markup.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 20 09:09:40 UTC 2015 - mimi.vx@gmail.com + +- update to 0.7.0.2 +* Add combinators to insert HTML comments +* Add `Applicative` instance for `MarkupM` + ------------------------------------------------------------------- Sun Nov 9 15:45:37 UTC 2014 - peter.trommler@ohm-hochschule.de diff --git a/ghc-blaze-markup.spec b/ghc-blaze-markup.spec index e5767ac..5268eeb 100644 --- a/ghc-blaze-markup.spec +++ b/ghc-blaze-markup.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-blaze-markup # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,17 @@ %global pkg_name blaze-markup -Name: ghc-blaze-markup -Version: 0.6.1.1 +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 0.7.0.2 Release: 0 Summary: A blazingly fast markup combinator library for Haskell License: BSD-3-Clause Group: System/Libraries -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ghc-Cabal-devel @@ -35,28 +37,32 @@ 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 Core modules of a blazingly fast markup combinator library for the Haskell -programming language. The Text.Blaze module is a good -starting point, as well as this tutorial: -. +programming language. The Text.Blaze module is a good starting point, as well +as this tutorial: . %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Requires: ghc-compiler -Requires(post): ghc-compiler -Requires(postun): ghc-compiler +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name} = %{version}-%{release} %description devel -Core modules of a blazingly fast markup combinator library for the Haskell -programming language. The Text.Blaze module is a good -starting point, as well as this tutorial: -. +This package provides the Haskell %{pkg_name} library development files. %prep @@ -68,6 +74,11 @@ starting point, as well as this tutorial: %install %ghc_lib_install +%check +%if %{with tests} +%cabal test +%endif + %post devel %ghc_pkg_recache