Hello community, here is the log from the commit of package ghc-fast-logger for openSUSE:Factory checked in at 2017-02-21 13:45:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-fast-logger.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-fast-logger" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes 2016-10-14 09:06:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 2017-02-21 13:45:28.377565812 +0100 @@ -1,0 +2,10 @@ +Sun Feb 5 19:32:35 UTC 2017 - psim...@suse.com + +- Update to version 2.4.10 with cabal2obs. + +------------------------------------------------------------------- +Mon Jan 30 09:34:56 UTC 2017 - psim...@suse.com + +- Update to version 2.4.8 with cabal2obs. + +------------------------------------------------------------------- Old: ---- fast-logger-2.4.7.tar.gz New: ---- fast-logger-2.4.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-fast-logger.spec ++++++ --- /var/tmp/diff_new_pack.ztXTBz/_old 2017-02-21 13:45:28.929487949 +0100 +++ /var/tmp/diff_new_pack.ztXTBz/_new 2017-02-21 13:45:28.929487949 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-fast-logger # -# 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 @@ -19,7 +19,7 @@ %global pkg_name fast-logger %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.4.7 +Version: 2.4.10 Release: 0 Summary: A fast logging system License: BSD-3-Clause @@ -29,7 +29,6 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-auto-update-devel -BuildRequires: ghc-bytestring-builder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-easy-file-devel ++++++ fast-logger-2.4.7.tar.gz -> fast-logger-2.4.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.4.7/ChangeLog.md new/fast-logger-2.4.10/ChangeLog.md --- old/fast-logger-2.4.7/ChangeLog.md 2016-09-29 04:00:40.000000000 +0200 +++ new/fast-logger-2.4.10/ChangeLog.md 2017-01-31 06:26:03.000000000 +0100 @@ -1,3 +1,16 @@ +## 2.4.10 + +* Fix Windows build on GHC 7.8. [#121](https://github.com/kazu-yamamoto/logger/pull/121) + +## 2.4.9 + +* Fixing build on Windows. [#118](https://github.com/kazu-yamamoto/logger/pull/118) + +## 2.4.8 + +* Add Semigroup instance to LogStr [#115](https://github.com/kazu-yamamoto/logger/pull/115) +* Added note on log message ordering [#116](https://github.com/kazu-yamamoto/logger/pull/116) + ## 2.4.7 * Fixing interleaved log output when messages are larger than buffer size. [#103](https://github.com/kazu-yamamoto/logger/pull/103) @@ -12,7 +25,7 @@ ## 2.4.4 -* New API: newFastLogger and ewTimedFastLogger. +* New API: newFastLogger and newTimedFastLogger. * LogType and date cache are transferred from wai-logger. ## 2.4.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.4.7/System/Log/FastLogger/FileIO.hs new/fast-logger-2.4.10/System/Log/FastLogger/FileIO.hs --- old/fast-logger-2.4.7/System/Log/FastLogger/FileIO.hs 2016-09-29 04:00:40.000000000 +0200 +++ new/fast-logger-2.4.10/System/Log/FastLogger/FileIO.hs 2017-01-31 06:26:03.000000000 +0100 @@ -12,10 +12,11 @@ import Data.Bits ((.|.)) type FD = HANDLE - +#if !MIN_VERSION_Win32(2,4,0) -- This flag is not defined in System.Win32.File fILE_APPEND_DATA :: UINT fILE_APPEND_DATA = 0x0004 +#endif closeFD :: FD -> IO () closeFD = closeHandle diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.4.7/System/Log/FastLogger/LogStr.hs new/fast-logger-2.4.10/System/Log/FastLogger/LogStr.hs --- old/fast-logger-2.4.7/System/Log/FastLogger/LogStr.hs 2016-09-29 04:00:40.000000000 +0200 +++ new/fast-logger-2.4.10/System/Log/FastLogger/LogStr.hs 2017-01-31 06:26:03.000000000 +0100 @@ -24,6 +24,9 @@ #if MIN_VERSION_base(4,5,0) import Data.Monoid ((<>)) #endif +#if MIN_VERSION_base(4,9,0) +import Data.Semigroup (Semigroup) +#endif import Data.String (IsString(..)) import qualified Data.Text as T import qualified Data.Text.Encoding as T @@ -52,6 +55,10 @@ -- | Log message builder. Use ('<>') to append two LogStr in O(1). data LogStr = LogStr !Int Builder +#if MIN_VERSION_base(4,9,0) +instance Semigroup LogStr +#endif + instance Monoid LogStr where mempty = LogStr 0 (toBuilder BS.empty) LogStr s1 b1 `mappend` LogStr s2 b2 = LogStr (s1 + s2) (b1 <> b2) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.4.7/System/Log/FastLogger.hs new/fast-logger-2.4.10/System/Log/FastLogger.hs --- old/fast-logger-2.4.7/System/Log/FastLogger.hs 2016-09-29 04:00:40.000000000 +0200 +++ new/fast-logger-2.4.10/System/Log/FastLogger.hs 2017-01-31 06:26:03.000000000 +0100 @@ -1,5 +1,10 @@ -- | This module provides a fast logging system which -- scales on multicore environments (i.e. +RTS -N\<x\>). +-- +-- Note: This library does not guarantee correct ordering of log messages +-- when program is run on more than one core thus users +-- should rely more on message timestamps than on their order in the +-- log. {-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.4.7/fast-logger.cabal new/fast-logger-2.4.10/fast-logger.cabal --- old/fast-logger-2.4.7/fast-logger.cabal 2016-09-29 04:00:40.000000000 +0200 +++ new/fast-logger-2.4.10/fast-logger.cabal 2017-01-31 06:26:03.000000000 +0100 @@ -1,5 +1,5 @@ Name: fast-logger -Version: 2.4.7 +Version: 2.4.10 Author: Kazu Yamamoto <k...@iij.ad.jp> Maintainer: Kazu Yamamoto <k...@iij.ad.jp> License: BSD3 @@ -27,10 +27,11 @@ , auto-update >= 0.1.2 , easy-file >= 0.2 , bytestring - , bytestring-builder , directory , filepath , text + if impl(ghc < 7.8) + Build-Depends: bytestring-builder if os(windows) Cpp-Options: -DWINDOWS Build-Depends: time