Accepting request 607743 from devel:languages:haskell
Update ghc-async to the latest version. OBS-URL: https://build.opensuse.org/request/show/607743 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-async?expand=0&rev=14
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd83e471466ea6885b2e8fb60f452db3ac3fdf3ea2d6370aa1e071ebc37544e2
|
||||
size 10608
|
3
async-2.2.1.tar.gz
Normal file
3
async-2.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8f0b86022a1319d3c1c68655790da4b7f98017982e27ec3f3dbfe01029d39027
|
||||
size 12775
|
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
|
||||
|
||||
- Update async to version 2.2.1.
|
||||
- Add a Hashable instance for Async
|
||||
- Documentation updates
|
||||
- cancel now throws AsyncCancelled instead of ThreadKilled
|
||||
- link and link2 now wrap exceptions in ExceptionInLinkedThread when
|
||||
throwing to the linked thread. ExceptionInLinkedThread is a child
|
||||
of AsyncException in the exception hierarchy, so this maintains the
|
||||
invariant that exceptions thrown asynchronously should be
|
||||
AsyncExceptions.
|
||||
- link and link2 do not propagate AsyncCancelled, so it's now
|
||||
possible to cancel a linked thread without cancelling yourself.
|
||||
- Added linkOnly and link2Only to specify which exceptions should be
|
||||
propagated,if you want something other than the default behaviour
|
||||
of ignoring AsyncCancelled.
|
||||
- new utility function compareAsyncs for comparing Asyncs of
|
||||
different types.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-async
|
||||
#
|
||||
# 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 async
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 2.1.1.1
|
||||
Version: 2.2.1
|
||||
Release: 0
|
||||
Summary: Run IO operations asynchronously and wait for their results
|
||||
License: BSD-3-Clause
|
||||
@@ -27,6 +27,7 @@ Group: Development/Libraries/Haskell
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-hashable-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-stm-devel
|
||||
%if %{with tests}
|
||||
@@ -80,7 +81,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
|
||||
|
Reference in New Issue
Block a user