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
This commit is contained in:
Peter Trommler 2015-05-04 17:28:19 +00:00 committed by Git OBS Bridge
parent 17a8c3bee1
commit f410e493f7
4 changed files with 36 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad484263f2f0978fd919627717c5a2ec923f19f401f1471ec259558ddd7306aa
size 12759

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4068a284834d8fe68df5ec63a037b92b7c956a82c0c72d7beca8d670fd5725c
size 13440

View File

@ -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

View File

@ -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:
<http://jaspervdj.be/blaze/tutorial.html>.
programming language. The Text.Blaze module is a good starting point, as well
as this tutorial: <http://jaspervdj.be/blaze/tutorial.html>.
%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:
<http://jaspervdj.be/blaze/tutorial.html>.
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