diff --git a/ghc-monad-control.changes b/ghc-monad-control.changes index 9dee2ff..2ae4d44 100644 --- a/ghc-monad-control.changes +++ b/ghc-monad-control.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Apr 21 19:32:20 UTC 2015 - mimi.vx@gmail.com + +- update to 1.0.0.4 + +* Support transformers-compat-0.4.*. +* Unconditionally add ExceptT instances using transformers-compat. + Courtesy of Adam Bergmark. +* Add a base >= 4.5 constraint because monad-control only builds on GHC >= 7.4. +* Use Safe instead of Trustworthy. + This requires a dependency on stm. +* Switch the associated data types StT and StM to associated type synonyms. + This is an API breaking change. To fix your MonadTransControl or + MonadBaseControl instances simply remove the StT or StM constructors + and deconstructors for your monad transformers or monad. +* Add the embed, embed_ and liftBaseOpDiscard functions. +* Support transformers-0.4.0.0 +* Drop unicode syntax and symbols + ------------------------------------------------------------------- Sun Oct 6 21:43:23 UTC 2013 - sbahling@suse.com diff --git a/ghc-monad-control.spec b/ghc-monad-control.spec index a115c7c..14f6b22 100644 --- a/ghc-monad-control.spec +++ b/ghc-monad-control.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-monad-control # -# Copyright (c) 2013 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,22 +18,23 @@ %global pkg_name monad-control -Name: ghc-monad-control -Version: 0.3.2.1 +Name: ghc-%{pkg_name} +Version: 1.0.0.4 Release: 0 Summary: Lift control operations, like exception catching, through monad transformers 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 BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: -BuildRequires: ghc-base-unicode-symbols-devel +BuildRequires: ghc-stm-devel BuildRequires: ghc-transformers-base-devel +BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel # End cabal-rpm deps @@ -53,18 +54,14 @@ 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. -The following 'criterion' based benchmark shows that 'monad-control' is on -average about 99% faster than 'monad-peel': - -git clone https://github.com/basvandijk/bench-monad-peel-control. - %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Provides: %{name}-static = %{version}-%{release} -Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. diff --git a/monad-control-0.3.2.1.tar.gz b/monad-control-0.3.2.1.tar.gz deleted file mode 100644 index d3c637e..0000000 --- a/monad-control-0.3.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4395df5ea2b9278a96d7c8e93c81202b9441ba5fcfbd03b90c7d4ea1c66b8e9f -size 10685 diff --git a/monad-control-1.0.0.4.tar.gz b/monad-control-1.0.0.4.tar.gz new file mode 100644 index 0000000..23e307b --- /dev/null +++ b/monad-control-1.0.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e984b7346af6d31b7ce918e1a0263075af8cbcf5440bc3df698d0354c90df61e +size 10709