Accepting request 607873 from devel:languages:haskell

Update ghc-resourcet to the latest version.

OBS-URL: https://build.opensuse.org/request/show/607873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-resourcet?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2018-05-30 10:12:26 +00:00 committed by Git OBS Bridge
commit 5043132e57
4 changed files with 22 additions and 11 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
- Update resourcet to version 1.2.1.
* Support `exceptions-0.10`.
* Drop `monad-control` and `mmorph` dependencies
* Change behavior of `runResourceT` to match `runResourceTChecked`
* `runResourceTChecked`, which checks if any of the cleanup actions
threw exceptions and, if so, rethrows them. __NOTE__ This is
probably a much better choice of function than `runResourceT`, and
in the next major version release, will become the new behavior of
`runResourceT`.
* Added `MonadUnliftIO` instances and `UnliftIO.Resource`
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-resourcet
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -19,7 +19,7 @@
%global pkg_name resourcet
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.1.9
Version: 1.2.1
Release: 0
Summary: Deterministic allocation and freeing of scarce resources
License: BSD-3-Clause
@ -29,14 +29,11 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-lifted-base-devel
BuildRequires: ghc-mmorph-devel
BuildRequires: ghc-monad-control-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-primitive-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unliftio-core-devel
%if %{with tests}
BuildRequires: ghc-hspec-devel
%endif
@ -75,7 +72,7 @@ This package provides the Haskell %{pkg_name} library development files.
%ghc_pkg_recache
%files -f %{name}.files
%doc LICENSE
%license LICENSE
%files devel -f %{name}-devel.files
%doc ChangeLog.md README.md

View File

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

3
resourcet-1.2.1.tar.gz Normal file
View File

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