update to 0.3.3.0

This commit is contained in:
Jens Petersen 2014-09-16 17:52:27 +09:00
parent f7c8ad114f
commit 4c3bcdad8d
3 changed files with 23 additions and 21 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/monad-control-0.3.1.3.tar.gz /monad-control-0.3.1.3.tar.gz
/monad-control-0.3.1.4.tar.gz /monad-control-0.3.1.4.tar.gz
/monad-control-0.3.2.1.tar.gz /monad-control-0.3.2.1.tar.gz
/monad-control-0.3.3.0.tar.gz

View File

@ -2,47 +2,44 @@
%global pkg_name monad-control %global pkg_name monad-control
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.3.2.1 Version: 0.3.3.0
Release: 4%{?dist} Release: 1%{?dist}
Summary: Lift control operations through monad transformers Summary: Lift control operations through monad transformers
License: BSD License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name} 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-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-base-unicode-symbols-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-devel
# End cabal-rpm deps # End cabal-rpm deps
%description %description
This package defines the type class MonadBaseControl, a subset of This package defines the type class 'MonadBaseControl', a subset of 'MonadBase'
MonadBase into which generic control operations such as catch can be into which generic control operations such as 'catch' can be lifted from 'IO'
lifted from IO or any other base monad. Instances are based on monad or any other base monad. Instances are based on monad transformers in
transformers in MonadTransControl, which includes all standard monad 'MonadTransControl', which includes all standard monad transformers in the
transformers in the transformers library except ContT. 'transformers' library except 'ContT'.
See the lifted-base package which uses monad-control to lift IO See the 'lifted-base' package which uses 'monad-control' to lift 'IO'
operations from the base library (like catch or bracket) into any operations from the 'base' library (like 'catch' or 'bracket') into any monad
monad that is an instance of MonadBase or MonadBaseControl. that is an instance of 'MonadBase' or 'MonadBaseControl'.
This package is a rewrite of Anders Kaseorg's monad-peel library.
The main difference is that this package provides CPS style operators
and exploits the RankNTypes and TypeFamilies language extensions to
simplify and speedup most definitions. A criterion-based benchmark shows
that monad-control is on average about 99% faster than monad-peel.
%package devel %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version} Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
This package provides the Haskell %{pkg_name} library development files. This package provides the Haskell %{pkg_name} library development files.
@ -77,6 +74,10 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog %changelog
* Tue Sep 16 2014 Jens Petersen <petersen@redhat.com> - 0.3.3.0-1
- update to 0.3.3.0
- refresh to cblrpm-0.8.11
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.1-4 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@ -1 +1 @@
91f6c3e726b50dc0e625ad17ee5812a9 monad-control-0.3.2.1.tar.gz e32491e2699a7160ea16a4114bf4c8b3 monad-control-0.3.3.0.tar.gz