Hello community,

here is the log from the commit of package ghc-safe-exceptions for 
openSUSE:Factory checked in at 2020-08-28 21:37:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-safe-exceptions (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-safe-exceptions.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-safe-exceptions"

Fri Aug 28 21:37:46 2020 rev:2 rq:829408 version:0.1.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-safe-exceptions/ghc-safe-exceptions.changes  
2020-06-19 17:03:52.964592242 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-safe-exceptions.new.3399/ghc-safe-exceptions.changes
        2020-08-28 21:37:47.108792224 +0200
@@ -1,0 +2,15 @@
+Mon Aug 24 02:00:43 UTC 2020 - psim...@suse.com
+
+- Update safe-exceptions to version 0.1.7.1.
+  # ChangeLog for safe-exceptions
+
+  ## 0.1.7.1
+
+  * Doc update
+
+-------------------------------------------------------------------
+Tue Aug 18 10:45:56 UTC 2020 - Peter Simons <psim...@suse.com>
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+-------------------------------------------------------------------

Old:
----
  safe-exceptions-0.1.7.0.tar.gz
  safe-exceptions.cabal

New:
----
  safe-exceptions-0.1.7.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-safe-exceptions.spec ++++++
--- /var/tmp/diff_new_pack.jXvetl/_old  2020-08-28 21:37:49.232793230 +0200
+++ /var/tmp/diff_new_pack.jXvetl/_new  2020-08-28 21:37:49.236793232 +0200
@@ -19,13 +19,12 @@
 %global pkg_name safe-exceptions
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1.7.0
+Version:        0.1.7.1
 Release:        0
 Summary:        Safe, consistent, and easy exception handling
 License:        MIT
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/6.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-exceptions-devel
@@ -51,8 +50,7 @@
 files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build

++++++ safe-exceptions-0.1.7.0.tar.gz -> safe-exceptions-0.1.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/safe-exceptions-0.1.7.0/ChangeLog.md 
new/safe-exceptions-0.1.7.1/ChangeLog.md
--- old/safe-exceptions-0.1.7.0/ChangeLog.md    2018-01-18 16:32:22.000000000 
+0100
+++ new/safe-exceptions-0.1.7.1/ChangeLog.md    2020-08-23 15:51:43.000000000 
+0200
@@ -1,3 +1,9 @@
+# ChangeLog for safe-exceptions
+
+## 0.1.7.1
+
+* Doc update
+
 ## 0.1.7.0
 
 * Add `bracketWithError`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/safe-exceptions-0.1.7.0/README.md 
new/safe-exceptions-0.1.7.1/README.md
--- old/safe-exceptions-0.1.7.0/README.md       2017-07-03 11:26:49.000000000 
+0200
+++ new/safe-exceptions-0.1.7.1/README.md       2020-08-23 15:47:42.000000000 
+0200
@@ -17,6 +17,13 @@
 to turn what was previously something scary into an aspect of Haskell
 everyone feels safe using.
 
+__NOTE__ The `UnliftIO.Exception` module in [the `unliftio`
+library](https://www.stackage.org/package/unliftio) provides a very similar API
+to this module, but based around the `MonadUnliftIO` typeclass instead of
+`MonadCatch` and `MonadMask`. The [unliftio release
+announcement](https://www.fpcomplete.com/blog/2017/07/announcing-new-unliftio-library)
+explains why this may be considered preferable from a safety perspective.
+
 ## Goals
 
 This package provides additional safety and simplicity versus
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/safe-exceptions-0.1.7.0/safe-exceptions.cabal 
new/safe-exceptions-0.1.7.1/safe-exceptions.cabal
--- old/safe-exceptions-0.1.7.0/safe-exceptions.cabal   2018-01-18 
16:32:22.000000000 +0100
+++ new/safe-exceptions-0.1.7.1/safe-exceptions.cabal   2020-08-23 
15:51:47.000000000 +0200
@@ -1,5 +1,5 @@
 name:                safe-exceptions
-version:             0.1.7.0
+version:             0.1.7.1
 synopsis:            Safe, consistent, and easy exception handling
 description:         Please see README.md
 homepage:            https://github.com/fpco/safe-exceptions#readme
@@ -16,9 +16,9 @@
 library
   hs-source-dirs:      src
   exposed-modules:     Control.Exception.Safe
-  build-depends:       base >= 4.7 && < 4.11
+  build-depends:       base >= 4.7 && < 5
                      , deepseq >= 1.2 && < 1.5
-                     , exceptions >= 0.8 && < 0.9
+                     , exceptions >= 0.8 && < 0.11
                      , transformers >= 0.2 && < 0.6
   default-language:    Haskell2010
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/safe-exceptions-0.1.7.0/src/Control/Exception/Safe.hs 
new/safe-exceptions-0.1.7.1/src/Control/Exception/Safe.hs
--- old/safe-exceptions-0.1.7.0/src/Control/Exception/Safe.hs   2018-01-18 
16:32:22.000000000 +0100
+++ new/safe-exceptions-0.1.7.1/src/Control/Exception/Safe.hs   2020-08-23 
15:47:42.000000000 +0200
@@ -376,7 +376,7 @@
 
 -- | Async safe version of 'E.bracket'
 --
--- @since 0.1.7.0
+-- @since 0.1.0.0
 bracket :: forall m a b c. C.MonadMask m
         => m a -> (a -> m b) -> (a -> m c) -> m c
 bracket before after = bracketWithError before (const after)
@@ -428,7 +428,7 @@
 -- | Async safe version of 'E.bracket' with access to the exception in the
 -- cleanup action.
 --
--- @since 0.1.0.0
+-- @since 0.1.7.0
 bracketWithError :: forall m a b c. C.MonadMask m
         => m a -> (Maybe SomeException -> a -> m b) -> (a -> m c) -> m c
 bracketWithError before after thing = C.mask $ \restore -> do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/safe-exceptions-0.1.7.0/test/Control/Exception/SafeSpec.hs 
new/safe-exceptions-0.1.7.1/test/Control/Exception/SafeSpec.hs
--- old/safe-exceptions-0.1.7.0/test/Control/Exception/SafeSpec.hs      
2017-03-07 12:48:06.000000000 +0100
+++ new/safe-exceptions-0.1.7.1/test/Control/Exception/SafeSpec.hs      
2020-08-23 15:47:42.000000000 +0200
@@ -4,7 +4,7 @@
 module Control.Exception.SafeSpec (spec) where
 
 import Control.Concurrent (threadDelay, newEmptyMVar, forkIOWithUnmask, 
takeMVar, putMVar)
-import Control.Exception (assert, ArithException (..), AsyncException (..), 
BlockedIndefinitelyOnMVar (..), BlockedIndefinitelyOnSTM (..))
+import Control.Exception (ArithException (..), AsyncException (..), 
BlockedIndefinitelyOnMVar (..), BlockedIndefinitelyOnSTM (..))
 import qualified Control.Exception as E
 import Control.Exception.Safe
 import Control.Monad (forever)


Reply via email to