Hello community,
here is the log from the commit of package ghc-unbounded-delays for
openSUSE:Factory checked in at 2017-04-14 13:41:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-unbounded-delays (Old)
and /work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-unbounded-delays"
Fri Apr 14 13:41:37 2017 rev:3 rq:487391 version:0.1.0.10
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-unbounded-delays/ghc-unbounded-delays.changes
2016-07-24 19:52:45.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new/ghc-unbounded-delays.changes
2017-04-14 13:41:37.998216015 +0200
@@ -1,0 +2,5 @@
+Tue Apr 4 11:04:08 UTC 2017 - [email protected]
+
+- Update to version 0.1.0.10 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
unbounded-delays-0.1.0.9.tar.gz
New:
----
unbounded-delays-0.1.0.10.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-unbounded-delays.spec ++++++
--- /var/tmp/diff_new_pack.P8OIUk/_old 2017-04-14 13:41:38.782105224 +0200
+++ /var/tmp/diff_new_pack.P8OIUk/_new 2017-04-14 13:41:38.786104659 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-unbounded-delays
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,11 +18,11 @@
%global pkg_name unbounded-delays
Name: ghc-%{pkg_name}
-Version: 0.1.0.9
+Version: 0.1.0.10
Release: 0
Summary: Unbounded thread delays and timeouts
License: BSD-3-Clause
-Group: System/Libraries
+Group: Development/Languages/Other
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
@@ -49,15 +49,12 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%post devel
%ghc_pkg_recache
++++++ unbounded-delays-0.1.0.9.tar.gz -> unbounded-delays-0.1.0.10.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/unbounded-delays-0.1.0.9/Control/Concurrent/Timeout.hs
new/unbounded-delays-0.1.0.10/Control/Concurrent/Timeout.hs
--- old/unbounded-delays-0.1.0.9/Control/Concurrent/Timeout.hs 2014-12-29
09:34:11.000000000 +0100
+++ new/unbounded-delays-0.1.0.10/Control/Concurrent/Timeout.hs 2017-03-27
20:09:15.000000000 +0200
@@ -23,7 +23,7 @@
-------------------------------------------------------------------------------
-- from base:
-import Control.Concurrent ( forkIO, myThreadId, throwTo, killThread )
+import Control.Concurrent ( forkIOWithUnmask, myThreadId, throwTo,
killThread )
import Control.Exception ( Exception, bracket, handleJust )
import Control.Monad ( return, (>>), fmap )
import Data.Bool ( otherwise )
@@ -108,7 +108,7 @@
ex <- fmap Timeout newUnique
handleJust (\e -> if e == ex then Just () else Nothing)
(\_ -> return Nothing)
- (bracket (forkIO (delay n >> throwTo pid ex))
+ (bracket (forkIOWithUnmask (\unmask -> unmask (delay n >>
throwTo pid ex)))
(killThread)
(\_ -> fmap Just f)
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/unbounded-delays-0.1.0.9/unbounded-delays.cabal
new/unbounded-delays-0.1.0.10/unbounded-delays.cabal
--- old/unbounded-delays-0.1.0.9/unbounded-delays.cabal 2014-12-29
09:34:11.000000000 +0100
+++ new/unbounded-delays-0.1.0.10/unbounded-delays.cabal 2017-03-27
20:09:15.000000000 +0200
@@ -1,5 +1,5 @@
name: unbounded-delays
-version: 0.1.0.9
+version: 0.1.0.10
cabal-version: >= 1.6
build-type: Custom
author: Bas van Dijk <[email protected]>