Hello community,
here is the log from the commit of package ghc-extra for openSUSE:Factory checked in at 2017-05-06 18:28:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old)
and /work/SRC/openSUSE:Factory/.ghc-extra.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-extra"
Sat May 6 18:28:29 2017 rev:13 rq:491466 version:1.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes 2017-03-14 10:04:37.540700901 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-extra.new/ghc-extra.changes 2017-05-06 18:28:30.924845386 +0200
@@ -1,0 +2,5 @@
+Sun Apr 9 18:08:06 UTC 2017 - psimons@suse.com
+
+- Update to version 1.5.2 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
extra-1.5.1.tar.gz
New:
----
extra-1.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-extra.spec ++++++
--- /var/tmp/diff_new_pack.eOfWHP/_old 2017-05-06 18:28:31.668740419 +0200
+++ /var/tmp/diff_new_pack.eOfWHP/_new 2017-05-06 18:28:31.668740419 +0200
@@ -19,7 +19,7 @@
%global pkg_name extra
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.5.1
+Version: 1.5.2
Release: 0
Summary: Extra functions I use
License: BSD-3-Clause
++++++ extra-1.5.1.tar.gz -> extra-1.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.5.1/CHANGES.txt new/extra-1.5.2/CHANGES.txt
--- old/extra-1.5.1/CHANGES.txt 2016-10-25 23:11:40.000000000 +0200
+++ new/extra-1.5.2/CHANGES.txt 2017-04-04 19:11:24.000000000 +0200
@@ -1,5 +1,7 @@
Changelog for Extra
+1.5.2
+ Add errorWithoutStackTrace to Control.Exception.Extra
1.5.1
#25, add zipFrom and zipWithFrom
#24, add eitherToMaybe and maybeToEither
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.5.1/LICENSE new/extra-1.5.2/LICENSE
--- old/extra-1.5.1/LICENSE 2016-10-25 23:11:40.000000000 +0200
+++ new/extra-1.5.2/LICENSE 2017-04-04 19:11:24.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright Neil Mitchell 2014-2016.
+Copyright Neil Mitchell 2014-2017.
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.5.1/extra.cabal new/extra-1.5.2/extra.cabal
--- old/extra-1.5.1/extra.cabal 2016-10-25 23:11:40.000000000 +0200
+++ new/extra-1.5.2/extra.cabal 2017-04-04 19:11:24.000000000 +0200
@@ -1,13 +1,13 @@
cabal-version: >= 1.18
build-type: Simple
name: extra
-version: 1.5.1
+version: 1.5.2
license: BSD3
license-file: LICENSE
category: Development
author: Neil Mitchell
maintainer: Neil Mitchell
-copyright: Neil Mitchell 2014-2016
+copyright: Neil Mitchell 2014-2017
synopsis: Extra functions I use.
description:
A library of extra functions for the standard Haskell libraries. Most functions are simple additions, filling out missing functionality. A few functions are available in later versions of GHC, but this package makes them available back to GHC 7.2.
@@ -15,7 +15,7 @@
The module "Extra" documents all functions provided by this library. Modules such as "Data.List.Extra" provide extra functions over "Data.List" and also reexport "Data.List". Users are recommended to replace "Data.List" imports with "Data.List.Extra" if they need the extra functionality.
homepage: https://github.com/ndmitchell/extra#readme
bug-reports: https://github.com/ndmitchell/extra/issues
-tested-with: GHC==8.0.1, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
+tested-with: GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
extra-doc-files:
CHANGES.txt
@@ -73,7 +73,7 @@
if !os(windows)
build-depends: unix
hs-source-dirs: test
- ghc-options: -main-is Test -threaded -with-rtsopts=-N4
+ ghc-options: -main-is Test -threaded "-with-rtsopts=-N4 -K1K"
main-is: Test.hs
other-modules:
TestCustom
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.5.1/src/Control/Concurrent/Extra.hs new/extra-1.5.2/src/Control/Concurrent/Extra.hs
--- old/extra-1.5.1/src/Control/Concurrent/Extra.hs 2016-10-25 23:11:40.000000000 +0200
+++ new/extra-1.5.2/src/Control/Concurrent/Extra.hs 2017-04-04 19:11:24.000000000 +0200
@@ -241,7 +241,7 @@
x <- readVar var
case x of
Right res -> return res
- Left bar -> error "Cortex.Concurrent.Extra, internal invariant violated in Barrier"
+ Left bar -> error "Control.Concurrent.Extra, internal invariant violated in Barrier"
-- | A version of 'waitBarrier' that never blocks, returning 'Nothing'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.5.1/src/Control/Exception/Extra.hs new/extra-1.5.2/src/Control/Exception/Extra.hs
--- old/extra-1.5.1/src/Control/Exception/Extra.hs 2016-10-25 23:11:40.000000000 +0200
+++ new/extra-1.5.2/src/Control/Exception/Extra.hs 2017-04-04 19:11:24.000000000 +0200
@@ -7,6 +7,7 @@
module Control.Exception.Extra(
module Control.Exception,
retry, retryBool,
+ errorWithoutStackTrace,
showException, stringException,
errorIO, displayException,
-- * Exception catching/ignoring
@@ -51,6 +52,12 @@
displayException = show
#endif
+#if __GLASGOW_HASKELL__ < 800
+-- | A variant of 'error' that does not produce a stack trace.
+errorWithoutStackTrace :: String -> a
+errorWithoutStackTrace = error
+#endif
+
-- | Ignore any exceptions thrown by the action.
--
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.5.1/src/Extra.hs new/extra-1.5.2/src/Extra.hs
--- old/extra-1.5.1/src/Extra.hs 2016-10-25 23:11:40.000000000 +0200
+++ new/extra-1.5.2/src/Extra.hs 2017-04-04 19:11:24.000000000 +0200
@@ -11,7 +11,7 @@
getNumCapabilities, setNumCapabilities, withNumCapabilities, forkFinally, once, onceFork, Lock, newLock, withLock, withLockTry, Var, newVar, readVar, writeVar, modifyVar, modifyVar_, withVar, Barrier, newBarrier, signalBarrier, waitBarrier, waitBarrierMaybe,
-- * Control.Exception.Extra
-- | Extra functions available in @"Control.Exception.Extra"@.
- retry, retryBool, showException, stringException, errorIO, displayException, ignore, catch_, handle_, try_, catchJust_, handleJust_, tryJust_, catchBool, handleBool, tryBool,
+ retry, retryBool, errorWithoutStackTrace, showException, stringException, errorIO, displayException, ignore, catch_, handle_, try_, catchJust_, handleJust_, tryJust_, catchBool, handleBool, tryBool,
-- * Control.Monad.Extra
-- | Extra functions available in @"Control.Monad.Extra"@.
whenJust, whenJustM, unit, maybeM, eitherM, loopM, whileM, partitionM, concatMapM, concatForM, mconcatMapM, mapMaybeM, findM, firstJustM, whenM, unlessM, ifM, notM, (||^), (&&^), orM, andM, anyM, allM,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.5.1/src/System/Directory/Extra.hs new/extra-1.5.2/src/System/Directory/Extra.hs
--- old/extra-1.5.1/src/System/Directory/Extra.hs 2016-10-25 23:11:40.000000000 +0200
+++ new/extra-1.5.2/src/System/Directory/Extra.hs 2017-04-04 19:11:24.000000000 +0200
@@ -68,6 +68,7 @@
-- | Like 'listFiles', but goes recursively through all subdirectories.
+-- This function will follow symlinks, and if they form a loop, this function will not terminate.
--
-- > listTest listFilesRecursive ["bar.txt","zoo","foo" > "baz.txt"] ["bar.txt","zoo","foo" > "baz.txt"]
listFilesRecursive :: FilePath -> IO [FilePath]