commit ghc-fast-logger for openSUSE:Factory

2020-10-06 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2020-10-06 17:09:40

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.4249 (New)


Package is "ghc-fast-logger"

Tue Oct  6 17:09:40 2020 rev:22 rq:839664 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2020-08-28 21:32:27.764640933 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.4249/ghc-fast-logger.changes
2020-10-06 17:11:27.365545199 +0200
@@ -1,0 +2,7 @@
+Tue Sep 29 02:00:57 UTC 2020 - psim...@suse.com
+
+- Update fast-logger to version 3.0.2.
+  Upstream has not updated the file "ChangeLog.md" since the last
+  release.
+
+---

Old:

  fast-logger-3.0.1.tar.gz

New:

  fast-logger-3.0.2.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.ZIdTda/_old  2020-10-06 17:11:31.361548650 +0200
+++ /var/tmp/diff_new_pack.ZIdTda/_new  2020-10-06 17:11:31.365548654 +0200
@@ -19,7 +19,7 @@
 %global pkg_name fast-logger
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:3.0.1
+Version:3.0.2
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause
@@ -41,7 +41,7 @@
 %endif
 
 %description
-A fast logging system.
+A fast logging system for Haskell.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files

++ fast-logger-3.0.1.tar.gz -> fast-logger-3.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-3.0.1/System/Log/FastLogger/Internal.hs 
new/fast-logger-3.0.2/System/Log/FastLogger/Internal.hs
--- old/fast-logger-3.0.1/System/Log/FastLogger/Internal.hs 2020-02-13 
02:17:26.0 +0100
+++ new/fast-logger-3.0.2/System/Log/FastLogger/Internal.hs 2020-09-28 
07:04:13.0 +0200
@@ -1,4 +1,3 @@
-
 -- |
 -- The contents of this module can change at any time without warning.
 module System.Log.FastLogger.Internal
@@ -6,9 +5,11 @@
   , module System.Log.FastLogger.FileIO
   , module System.Log.FastLogger.LogStr
   , module System.Log.FastLogger.Logger
+  , module System.Log.FastLogger.LoggerSet
   ) where
 
 import System.Log.FastLogger.IO
 import System.Log.FastLogger.FileIO
 import System.Log.FastLogger.LogStr
 import System.Log.FastLogger.Logger
+import System.Log.FastLogger.LoggerSet
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-3.0.1/System/Log/FastLogger/LogStr.hs 
new/fast-logger-3.0.2/System/Log/FastLogger/LogStr.hs
--- old/fast-logger-3.0.1/System/Log/FastLogger/LogStr.hs   2020-02-13 
02:17:26.0 +0100
+++ new/fast-logger-3.0.2/System/Log/FastLogger/LogStr.hs   2020-09-28 
07:04:13.0 +0200
@@ -47,14 +47,17 @@
 
 #if MIN_VERSION_base(4,9,0)
 instance Semi.Semigroup LogStr where
+{-# INLINE (<>) #-}
 LogStr s1 b1 <> LogStr s2 b2 = LogStr (s1 + s2) (b1 <> b2)
 #endif
 
 instance Monoid LogStr where
 mempty = LogStr 0 (toBuilder BS.empty)
+{-# INLINE mappend #-}
 LogStr s1 b1 `mappend` LogStr s2 b2 = LogStr (s1 + s2) (b1 <> b2)
 
 instance IsString LogStr where
+{-# INLINE fromString #-}
 fromString = toLogStr . TL.pack
 
 -- | Types that can be converted to a 'LogStr'. Instances for
@@ -64,60 +67,80 @@
 toLogStr :: msg -> LogStr
 
 instance ToLogStr LogStr where
+{-# INLINE toLogStr #-}
 toLogStr = id
 instance ToLogStr S8.ByteString where
+{-# INLINE toLogStr #-}
 toLogStr bs = LogStr (BS.length bs) (toBuilder bs)
 instance ToLogStr BL.ByteString where
+{-# INLINE toLogStr #-}
 toLogStr b = LogStr (fromIntegral (BL.length b)) (B.lazyByteString b)
 instance ToLogStr Builder where
+{-# INLINE toLogStr #-}
 toLogStr x = let b = B.toLazyByteString x in LogStr (fromIntegral 
(BL.length b)) (B.lazyByteString b)
 instance ToLogStr String where
+{-# INLINE toLogStr #-}
 toLogStr = toLogStr . TL.pack
 instance ToLogStr T.Text where
+{-# INLINE toLogStr #-}
 toLogStr = toLogStr . T.encodeUtf8
 instance ToLogStr TL.Text where
+{-# INLINE toLogStr #-}
 toLogStr = toLogStr . TL.encodeUtf8
 
 -- | @since 2.4.14
 instance ToLogStr Int where
+{-# INLINE toLogStr #-}
 toLogStr = toLogStr . B.intDec
 -- | @since 2.4.14
 instance ToLogStr Int8 where
+{-# INLINE toLogStr #-}
 toLogStr = toLogStr . B.int8Dec
 -- | @since 2.4.14
 instance ToLogStr Int16 where
+{-# INLINE toLogStr #-}
 toLogStr = toLogStr . B.int16Dec
 -- | @since 2.4.14
 instance ToLogStr Int32 where
+{-# 

commit ghc-fast-logger for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2020-08-28 21:32:27

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.3399 (New)


Package is "ghc-fast-logger"

Fri Aug 28 21:32:27 2020 rev:21 rq:829272 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2020-06-19 17:12:49.918040127 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.3399/ghc-fast-logger.changes
2020-08-28 21:32:27.764640933 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:44:49 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.mZb7di/_old  2020-08-28 21:32:28.340641206 +0200
+++ /var/tmp/diff_new_pack.mZb7di/_new  2020-08-28 21:32:28.344641208 +0200
@@ -54,7 +54,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-fast-logger for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2020-06-19 17:12:48

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.3606 (New)


Package is "ghc-fast-logger"

Fri Jun 19 17:12:48 2020 rev:20 rq:815091 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2020-03-09 14:16:10.17103 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.3606/ghc-fast-logger.changes
2020-06-19 17:12:49.918040127 +0200
@@ -2 +2 @@
-Thu Feb 27 14:16:55 UTC 2020 - psim...@suse.com
+Tue Jun  9 09:26:18 UTC 2020 - psim...@suse.com
@@ -4,2 +4 @@
-- Update fast-logger to version 3.0.1.
-  ## 3.0.1
+- Add fast-logger at version 3.0.1.
@@ -7,158 +5,0 @@
-  * Creating the `Internal` module.
-[#185](https://github.com/kazu-yamamoto/logger/pull/185)
-

-Fri Nov  8 16:13:44 UTC 2019 - Peter Simons 
-
-- Drop obsolete group attributes.
-

-Fri Oct  4 02:02:00 UTC 2019 - psim...@suse.com
-
-- Update fast-logger to version 3.0.0.
-  ## 3.0.0
-
-  * Allowing the callback logger to be generic. 
[#182](https://github.com/kazu-yamamoto/logger/pull/180) This is a BREAKING 
CHANGE. Users should do:
-1. Importing `LogType'` and related constructors because `LogType` is now 
a type alias.
-2. Using `{-# LANGUAGE GADTs #-}`, even if you aren't using anything new, 
any time you try and `case` over values of type `LogType'`.
-
-  ## 2.4.17
-
-  * Obtaining a fresh fd from IORef just before writing. 
[#180](https://github.com/kazu-yamamoto/logger/pull/180)
-
-  ## 2.4.16
-
-  * Using strict language extensions.
-
-  ## 2.4.15
-
-  * Rescuing GHC 7.8.
-

-Fri Sep  6 06:40:04 UTC 2019 - psim...@suse.com
-
-- Update fast-logger to version 2.4.17.
-  Upstream has not updated the file "ChangeLog.md" since the last
-  release.
-

-Fri Jun 14 02:03:38 UTC 2019 - psim...@suse.com
-
-- Update fast-logger to version 2.4.16.
-  Upstream has not updated the file "ChangeLog.md" since the last
-  release.
-

-Fri Apr 12 02:01:57 UTC 2019 - psim...@suse.com
-
-- Update fast-logger to version 2.4.15.
-  Upstream has not updated the file "ChangeLog.md" since the last
-  release.
-

-Thu Apr 11 06:35:18 UTC 2019 - psim...@suse.com
-
-- Update fast-logger to version 2.4.14.
-  ## 2.4.14
-
-  * Add `ToLogStr` instances for the following types: signed integers, 
unsigned integers, floating-point numbers. These instances all use decimal 
encodings. [#177](https://github.com/kazu-yamamoto/logger/pull/177)
-

-Tue Dec 25 03:01:34 UTC 2018 - psim...@suse.com
-
-- Update fast-logger to version 2.4.13.
-  Upstream has not updated the file "ChangeLog.md" since the last
-  release.
-

-Thu Dec 20 03:01:13 UTC 2018 - psim...@suse.com
-
-- Update fast-logger to version 2.4.12.
-  Upstream has not updated the file "ChangeLog.md" since the last
-  release.
-

-Sat Oct 20 11:31:30 UTC 2018 - Peter Simons 
-
-- Use https URL to refer to bugs.opensuse.org.
-

-Wed Jul 18 14:26:24 UTC 2018 - psim...@suse.com
-
-- Cosmetic: replace tabs with blanks, strip trailing white space,
-  and update copyright headers with spec-cleaner.
-

-Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
-
-- Update fast-logger to version 2.4.11.
-  * Give an explicit definition for (<>) in LogStr's Semigroup instance.
-[#155](https://github.com/kazu-yamamoto/logger/pull/155)
-

-Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
-
-- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-

-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.
-

-Sat Oct  1 17:18:08 UTC 2016 - psim...@suse.com
-
-- Update to version 2.4.7 

commit ghc-fast-logger for openSUSE:Factory

2020-03-09 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2020-03-09 14:16:07

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.26092 (New)


Package is "ghc-fast-logger"

Mon Mar  9 14:16:07 2020 rev:19 rq:780018 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2019-12-27 13:53:34.412664248 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.26092/ghc-fast-logger.changes   
2020-03-09 14:16:10.17103 +0100
@@ -1,0 +2,9 @@
+Thu Feb 27 14:16:55 UTC 2020 - psim...@suse.com
+
+- Update fast-logger to version 3.0.1.
+  ## 3.0.1
+
+  * Creating the `Internal` module.
+[#185](https://github.com/kazu-yamamoto/logger/pull/185)
+
+---

Old:

  fast-logger-3.0.0.tar.gz

New:

  fast-logger-3.0.1.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.WK7rFy/_old  2020-03-09 14:16:11.298617519 +0100
+++ /var/tmp/diff_new_pack.WK7rFy/_new  2020-03-09 14:16:11.306617524 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fast-logger
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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:3.0.0
+Version:3.0.1
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause

++ fast-logger-3.0.0.tar.gz -> fast-logger-3.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-3.0.0/ChangeLog.md 
new/fast-logger-3.0.1/ChangeLog.md
--- old/fast-logger-3.0.0/ChangeLog.md  2019-10-04 03:05:51.0 +0200
+++ new/fast-logger-3.0.1/ChangeLog.md  2020-02-13 02:17:26.0 +0100
@@ -1,3 +1,8 @@
+## 3.0.1
+
+* Creating the `Internal` module.
+  [#185](https://github.com/kazu-yamamoto/logger/pull/185)
+
 ## 3.0.0
 
 * Allowing the callback logger to be generic. 
[#182](https://github.com/kazu-yamamoto/logger/pull/180) This is a BREAKING 
CHANGE. Users should do:
@@ -15,7 +20,7 @@
 ## 2.4.15
 
 * Rescuing GHC 7.8.
-   
+
 ## 2.4.14
 
 * Add `ToLogStr` instances for the following types: signed integers, unsigned 
integers, floating-point numbers. These instances all use decimal encodings. 
[#177](https://github.com/kazu-yamamoto/logger/pull/177)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-3.0.0/System/Log/FastLogger/IO.hs 
new/fast-logger-3.0.1/System/Log/FastLogger/IO.hs
--- old/fast-logger-3.0.0/System/Log/FastLogger/IO.hs   2019-10-04 
03:05:51.0 +0200
+++ new/fast-logger-3.0.1/System/Log/FastLogger/IO.hs   2020-02-13 
02:17:26.0 +0100
@@ -1,5 +1,11 @@
 {-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE CPP #-}
+
+#if __GLASGOW_HASKELL__ <= 708
 {-# LANGUAGE Trustworthy #-}
+#else
+{-# LANGUAGE Safe #-}
+#endif
 
 module System.Log.FastLogger.IO where
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-3.0.0/System/Log/FastLogger/Internal.hs 
new/fast-logger-3.0.1/System/Log/FastLogger/Internal.hs
--- old/fast-logger-3.0.0/System/Log/FastLogger/Internal.hs 1970-01-01 
01:00:00.0 +0100
+++ new/fast-logger-3.0.1/System/Log/FastLogger/Internal.hs 2020-02-13 
02:17:26.0 +0100
@@ -0,0 +1,14 @@
+
+-- |
+-- The contents of this module can change at any time without warning.
+module System.Log.FastLogger.Internal
+  ( module System.Log.FastLogger.IO
+  , module System.Log.FastLogger.FileIO
+  , module System.Log.FastLogger.LogStr
+  , module System.Log.FastLogger.Logger
+  ) where
+
+import System.Log.FastLogger.IO
+import System.Log.FastLogger.FileIO
+import System.Log.FastLogger.LogStr
+import System.Log.FastLogger.Logger
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-3.0.0/fast-logger.cabal 
new/fast-logger-3.0.1/fast-logger.cabal
--- old/fast-logger-3.0.0/fast-logger.cabal 2019-10-04 03:05:51.0 
+0200
+++ new/fast-logger-3.0.1/fast-logger.cabal 2020-02-13 02:17:26.0 
+0100
@@ -1,5 +1,5 @@
 Name:   fast-logger
-Version:3.0.0
+Version:3.0.1
 Author: Kazu Yamamoto 
 Maintainer: Kazu Yamamoto 
 License:BSD3
@@ -20,6 +20,7 @@
  

commit ghc-fast-logger for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2019-12-27 13:53:32

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.6675 (New)


Package is "ghc-fast-logger"

Fri Dec 27 13:53:32 2019 rev:18 rq:759397 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2019-10-18 14:34:08.928127611 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.6675/ghc-fast-logger.changes
2019-12-27 13:53:34.412664248 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:13:44 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.0PdTj0/_old  2019-12-27 13:53:34.924664496 +0100
+++ /var/tmp/diff_new_pack.0PdTj0/_new  2019-12-27 13:53:34.936664501 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause
-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
@@ -46,7 +45,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}




commit ghc-fast-logger for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2019-10-18 14:34:08

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.2352 (New)


Package is "ghc-fast-logger"

Fri Oct 18 14:34:08 2019 rev:17 rq:737200 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2019-06-19 21:12:03.542722606 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.2352/ghc-fast-logger.changes
2019-10-18 14:34:08.928127611 +0200
@@ -1,0 +2,29 @@
+Fri Oct  4 02:02:00 UTC 2019 - psim...@suse.com
+
+- Update fast-logger to version 3.0.0.
+  ## 3.0.0
+
+  * Allowing the callback logger to be generic. 
[#182](https://github.com/kazu-yamamoto/logger/pull/180) This is a BREAKING 
CHANGE. Users should do:
+1. Importing `LogType'` and related constructors because `LogType` is now 
a type alias.
+2. Using `{-# LANGUAGE GADTs #-}`, even if you aren't using anything new, 
any time you try and `case` over values of type `LogType'`.
+
+  ## 2.4.17
+
+  * Obtaining a fresh fd from IORef just before writing. 
[#180](https://github.com/kazu-yamamoto/logger/pull/180)
+
+  ## 2.4.16
+
+  * Using strict language extensions.
+
+  ## 2.4.15
+
+  * Rescuing GHC 7.8.
+
+---
+Fri Sep  6 06:40:04 UTC 2019 - psim...@suse.com
+
+- Update fast-logger to version 2.4.17.
+  Upstream has not updated the file "ChangeLog.md" since the last
+  release.
+
+---

Old:

  fast-logger-2.4.16.tar.gz

New:

  fast-logger-3.0.0.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.EekI7M/_old  2019-10-18 14:34:09.472126194 +0200
+++ /var/tmp/diff_new_pack.EekI7M/_new  2019-10-18 14:34:09.480126174 +0200
@@ -19,7 +19,7 @@
 %global pkg_name fast-logger
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.4.16
+Version:3.0.0
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause

++ fast-logger-2.4.16.tar.gz -> fast-logger-3.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.16/ChangeLog.md 
new/fast-logger-3.0.0/ChangeLog.md
--- old/fast-logger-2.4.16/ChangeLog.md 2019-06-13 08:59:13.0 +0200
+++ new/fast-logger-3.0.0/ChangeLog.md  2019-10-04 03:05:51.0 +0200
@@ -1,3 +1,21 @@
+## 3.0.0
+
+* Allowing the callback logger to be generic. 
[#182](https://github.com/kazu-yamamoto/logger/pull/180) This is a BREAKING 
CHANGE. Users should do:
+  1. Importing `LogType'` and related constructors because `LogType` is now a 
type alias.
+  2. Using `{-# LANGUAGE GADTs #-}`, even if you aren't using anything new, 
any time you try and `case` over values of type `LogType'`.
+
+## 2.4.17
+
+* Obtaining a fresh fd from IORef just before writing. 
[#180](https://github.com/kazu-yamamoto/logger/pull/180)
+
+## 2.4.16
+
+* Using strict language extensions.
+
+## 2.4.15
+
+* Rescuing GHC 7.8.
+   
 ## 2.4.14
 
 * Add `ToLogStr` instances for the following types: signed integers, unsigned 
integers, floating-point numbers. These instances all use decimal encodings. 
[#177](https://github.com/kazu-yamamoto/logger/pull/177)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.16/System/Log/FastLogger/File.hs 
new/fast-logger-3.0.0/System/Log/FastLogger/File.hs
--- old/fast-logger-2.4.16/System/Log/FastLogger/File.hs2019-06-13 
08:59:13.0 +0200
+++ new/fast-logger-3.0.0/System/Log/FastLogger/File.hs 2019-10-04 
03:05:51.0 +0200
@@ -8,10 +8,11 @@
 , prefixTime
 ) where
 
-import Control.Monad (unless, when)
 import Data.ByteString.Char8 (unpack)
 import System.Directory (doesFileExist, doesDirectoryExist, getPermissions, 
writable, renameFile)
 import System.FilePath (takeDirectory, dropFileName, takeFileName, ())
+
+import System.Log.FastLogger.Imports
 import System.Log.FastLogger.Types (TimeFormat, FormattedTime)
 
 -- | The spec for logging files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.16/System/Log/FastLogger/FileIO.hs 
new/fast-logger-3.0.0/System/Log/FastLogger/FileIO.hs
--- old/fast-logger-2.4.16/System/Log/FastLogger/FileIO.hs  2019-06-13 
08:59:13.0 +0200
+++ new/fast-logger-3.0.0/System/Log/FastLogger/FileIO.hs   2019-10-04 
03:05:51.0 +0200
@@ -1,19 +1,20 @@
 module System.Log.FastLogger.FileIO where
 
-import Data.Word (Word8)
 import Foreign.Ptr 

commit ghc-fast-logger for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2019-06-19 21:10:31

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.4811 (New)


Package is "ghc-fast-logger"

Wed Jun 19 21:10:31 2019 rev:16 rq:710624 version:2.4.16

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2019-04-28 20:12:49.546441881 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.4811/ghc-fast-logger.changes
2019-06-19 21:12:03.542722606 +0200
@@ -1,0 +2,7 @@
+Fri Jun 14 02:03:38 UTC 2019 - psim...@suse.com
+
+- Update fast-logger to version 2.4.16.
+  Upstream has not updated the file "ChangeLog.md" since the last
+  release.
+
+---

Old:

  fast-logger-2.4.15.tar.gz

New:

  fast-logger-2.4.16.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.AUMmvJ/_old  2019-06-19 21:12:04.294723337 +0200
+++ /var/tmp/diff_new_pack.AUMmvJ/_new  2019-06-19 21:12:04.298723341 +0200
@@ -19,7 +19,7 @@
 %global pkg_name fast-logger
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.4.15
+Version:2.4.16
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause

++ fast-logger-2.4.15.tar.gz -> fast-logger-2.4.16.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.15/fast-logger.cabal 
new/fast-logger-2.4.16/fast-logger.cabal
--- old/fast-logger-2.4.15/fast-logger.cabal2019-04-11 07:09:10.0 
+0200
+++ new/fast-logger-2.4.16/fast-logger.cabal2019-06-13 08:59:13.0 
+0200
@@ -1,5 +1,5 @@
 Name:   fast-logger
-Version:2.4.15
+Version:2.4.16
 Author: Kazu Yamamoto 
 Maintainer: Kazu Yamamoto 
 License:BSD3
@@ -8,12 +8,13 @@
 Description:A fast logging system
 Homepage:   https://github.com/kazu-yamamoto/logger
 Category:   System
-Cabal-Version:  >= 1.8
+Cabal-Version:  >= 1.10
 Build-Type: Simple
 Extra-Source-Files: README.md ChangeLog.md
 Tested-With:GHC ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || 
==8.4.4 || ==8.6.3
 
 Library
+  Default-Language: Haskell2010
   GHC-Options:  -Wall
   Exposed-Modules:  System.Log.FastLogger
 System.Log.FastLogger.File
@@ -36,20 +37,25 @@
   , unix-compat
   if impl(ghc < 7.8)
   Build-Depends:bytestring-builder
+  if impl(ghc >= 8)
+  Default-Extensions:  Strict StrictData
 
 Test-Suite spec
-Main-Is: Spec.hs
-Hs-Source-Dirs:  test
-Type:exitcode-stdio-1.0
+  Main-Is:  Spec.hs
+  Hs-Source-Dirs:   test
+  Default-Language: Haskell2010
+  Type: exitcode-stdio-1.0
 
-Ghc-Options: -Wall -threaded
-Other-Modules:   FastLoggerSpec
-Build-Tools: hspec-discover >= 2.6
-Build-Depends:   base >= 4 && < 5
-   , bytestring
-   , directory
-   , fast-logger
-   , hspec
+  Ghc-Options:  -Wall -threaded
+  Other-Modules:FastLoggerSpec
+  Build-Tools:  hspec-discover >= 2.6
+  Build-Depends:base >= 4 && < 5
+  , bytestring
+  , directory
+  , fast-logger
+  , hspec
+  if impl(ghc >= 8)
+  Default-Extensions:  Strict StrictData
 
 Source-Repository head
   Type: git




commit ghc-fast-logger for openSUSE:Factory

2019-04-28 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2019-04-28 20:12:47

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.5536 (New)


Package is "ghc-fast-logger"

Sun Apr 28 20:12:47 2019 rev:15 rq:698550 version:2.4.15

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2018-12-28 12:35:22.975960921 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.5536/ghc-fast-logger.changes
2019-04-28 20:12:49.546441881 +0200
@@ -1,0 +2,15 @@
+Fri Apr 12 02:01:57 UTC 2019 - psim...@suse.com
+
+- Update fast-logger to version 2.4.15.
+  Upstream has not updated the file "ChangeLog.md" since the last
+  release.
+
+---
+Thu Apr 11 06:35:18 UTC 2019 - psim...@suse.com
+
+- Update fast-logger to version 2.4.14.
+  ## 2.4.14
+
+  * Add `ToLogStr` instances for the following types: signed integers, 
unsigned integers, floating-point numbers. These instances all use decimal 
encodings. [#177](https://github.com/kazu-yamamoto/logger/pull/177)
+
+---

Old:

  fast-logger-2.4.13.tar.gz

New:

  fast-logger-2.4.15.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.67VrU1/_old  2019-04-28 20:12:50.190441481 +0200
+++ /var/tmp/diff_new_pack.67VrU1/_new  2019-04-28 20:12:50.194441479 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fast-logger
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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.13
+Version:2.4.15
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause

++ fast-logger-2.4.13.tar.gz -> fast-logger-2.4.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.13/ChangeLog.md 
new/fast-logger-2.4.15/ChangeLog.md
--- old/fast-logger-2.4.13/ChangeLog.md 2018-12-25 03:45:26.0 +0100
+++ new/fast-logger-2.4.15/ChangeLog.md 2019-04-11 07:09:10.0 +0200
@@ -1,3 +1,7 @@
+## 2.4.14
+
+* Add `ToLogStr` instances for the following types: signed integers, unsigned 
integers, floating-point numbers. These instances all use decimal encodings. 
[#177](https://github.com/kazu-yamamoto/logger/pull/177)
+
 ## 2.4.11
 
 * Give an explicit definition for (<>) in LogStr's Semigroup instance. 
[#155](https://github.com/kazu-yamamoto/logger/pull/155)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.13/System/Log/FastLogger/LogStr.hs 
new/fast-logger-2.4.15/System/Log/FastLogger/LogStr.hs
--- old/fast-logger-2.4.13/System/Log/FastLogger/LogStr.hs  2018-12-25 
03:45:26.0 +0100
+++ new/fast-logger-2.4.15/System/Log/FastLogger/LogStr.hs  2019-04-11 
07:09:10.0 +0200
@@ -28,6 +28,8 @@
 import qualified Data.Semigroup as Semi (Semigroup(..))
 #endif
 import Data.String (IsString(..))
+import Data.Int (Int8,Int16,Int32,Int64)
+import Data.Word (Word,Word8,Word16,Word32,Word64)
 import qualified Data.Text as T
 import qualified Data.Text.Encoding as T
 import qualified Data.Text.Lazy as TL
@@ -67,6 +69,9 @@
 instance IsString LogStr where
 fromString = toLogStr . TL.pack
 
+-- | Types that can be converted to a 'LogStr'. Instances for
+-- types from the @text@ library use a UTF-8 encoding. Instances
+-- for numerical types use a decimal encoding.
 class ToLogStr msg where
 toLogStr :: msg -> LogStr
 
@@ -75,7 +80,7 @@
 instance ToLogStr S8.ByteString where
 toLogStr bs = LogStr (BS.length bs) (toBuilder bs)
 instance ToLogStr BL.ByteString where
-toLogStr = toLogStr . S8.concat . BL.toChunks
+toLogStr b = LogStr (fromIntegral (BL.length b)) (B.lazyByteString b)
 instance ToLogStr Builder where
 toLogStr x = let b = B.toLazyByteString x in LogStr (fromIntegral 
(BL.length b)) (B.lazyByteString b)
 instance ToLogStr String where
@@ -85,6 +90,48 @@
 instance ToLogStr TL.Text where
 toLogStr = toLogStr . TL.encodeUtf8
 
+-- | @since 2.4.14
+instance ToLogStr Int where
+toLogStr = toLogStr . B.intDec
+-- | @since 2.4.14
+instance ToLogStr Int8 where
+toLogStr = toLogStr . B.int8Dec
+-- | @since 2.4.14
+instance ToLogStr Int16 where
+toLogStr = toLogStr . B.int16Dec
+-- | @since 

commit ghc-fast-logger for openSUSE:Factory

2018-12-28 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2018-12-28 12:35:08

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new.28833 (New)


Package is "ghc-fast-logger"

Fri Dec 28 12:35:08 2018 rev:14 rq:661494 version:2.4.13

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2018-10-25 08:25:27.595826463 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-fast-logger.new.28833/ghc-fast-logger.changes   
2018-12-28 12:35:22.975960921 +0100
@@ -1,0 +2,14 @@
+Tue Dec 25 03:01:34 UTC 2018 - psim...@suse.com
+
+- Update fast-logger to version 2.4.13.
+  Upstream has not updated the file "ChangeLog.md" since the last
+  release.
+
+---
+Thu Dec 20 03:01:13 UTC 2018 - psim...@suse.com
+
+- Update fast-logger to version 2.4.12.
+  Upstream has not updated the file "ChangeLog.md" since the last
+  release.
+
+---

Old:

  fast-logger-2.4.11.tar.gz

New:

  fast-logger-2.4.13.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.2LcHKK/_old  2018-12-28 12:35:23.659960443 +0100
+++ /var/tmp/diff_new_pack.2LcHKK/_new  2018-12-28 12:35:23.663960440 +0100
@@ -19,7 +19,7 @@
 %global pkg_name fast-logger
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.4.11
+Version:2.4.13
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause
@@ -35,7 +35,7 @@
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
-BuildRequires:  ghc-unix-devel
+BuildRequires:  ghc-unix-compat-devel
 BuildRequires:  ghc-unix-time-devel
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel

++ fast-logger-2.4.11.tar.gz -> fast-logger-2.4.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.11/System/Log/FastLogger/Date.hs 
new/fast-logger-2.4.13/System/Log/FastLogger/Date.hs
--- old/fast-logger-2.4.11/System/Log/FastLogger/Date.hs2018-02-05 
03:01:32.0 +0100
+++ new/fast-logger-2.4.13/System/Log/FastLogger/Date.hs2018-12-25 
03:45:26.0 +0100
@@ -4,56 +4,27 @@
 -- |
 -- Formatting time is slow.
 -- This package provides mechanisms to cache formatted date.
-module System.Log.FastLogger.Date (
-  -- * Types
-TimeFormat
-  , FormattedTime
-  -- * Date cacher
-  , newTimeCache
+module System.Log.FastLogger.Date
+  ( -- * Date cacher
+newTimeCache
   , simpleTimeFormat
   , simpleTimeFormat'
   ) where
 
 import Control.AutoUpdate (mkAutoUpdate, defaultUpdateSettings, updateAction)
-import Data.ByteString (ByteString)
-#if WINDOWS
-import qualified Data.ByteString.Char8 as BS
-import Data.Time (UTCTime, formatTime, getCurrentTime, utcToLocalZonedTime)
-# if MIN_VERSION_time(1,5,0)
-import Data.Time (defaultTimeLocale)
-# else
-import System.Locale (defaultTimeLocale)
-# endif
-#else
+import System.Log.FastLogger.Types (TimeFormat, FormattedTime)
 import Data.UnixTime (formatUnixTime, fromEpochTime)
-import System.Posix (EpochTime, epochTime)
-#endif
+import System.PosixCompat.Types (EpochTime)
+import System.PosixCompat.Time (epochTime)
 
 
 
--- | Type aliaes for date format and formatted date.
-type FormattedTime = ByteString
-type TimeFormat = ByteString
-
-
-
-#if WINDOWS
--- | Get date using UTC.
-getTime :: IO UTCTime
-getTime = getCurrentTime
--- | Format UTC date.
-formatDate :: TimeFormat -> UTCTime -> IO FormattedTime
-formatDate fmt ut = do
-  zt <- utcToLocalZonedTime ut
-  return $ BS.pack $ formatTime defaultTimeLocale (BS.unpack fmt) zt
-#else
 -- | Get date using UnixTime.
 getTime :: IO EpochTime
 getTime = epochTime
 -- | Format unix EpochTime date.
 formatDate :: TimeFormat -> EpochTime -> IO FormattedTime
 formatDate fmt = formatUnixTime fmt . fromEpochTime
-#endif
 
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.11/System/Log/FastLogger/File.hs 
new/fast-logger-2.4.13/System/Log/FastLogger/File.hs
--- old/fast-logger-2.4.11/System/Log/FastLogger/File.hs2018-02-05 
03:01:32.0 +0100
+++ new/fast-logger-2.4.13/System/Log/FastLogger/File.hs2018-12-25 
03:45:26.0 +0100
@@ -1,10 +1,18 @@
 {-# LANGUAGE Safe #-}
 
-module System.Log.FastLogger.File where
+module 

commit ghc-fast-logger for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2018-10-25 08:25:23

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new (New)


Package is "ghc-fast-logger"

Thu Oct 25 08:25:23 2018 rev:13 rq:643392 version:2.4.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2018-07-24 17:18:42.475016863 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2018-10-25 08:25:27.595826463 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:30 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.j33D8W/_old  2018-10-25 08:25:28.111826226 +0200
+++ /var/tmp/diff_new_pack.j33D8W/_new  2018-10-25 08:25:28.123826221 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-fast-logger for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2018-07-24 17:18:39

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new (New)


Package is "ghc-fast-logger"

Tue Jul 24 17:18:39 2018 rev:12 rq:623771 version:2.4.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2018-05-30 12:25:39.813622554 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2018-07-24 17:18:42.475016863 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:24 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -75 +80,0 @@
-



Other differences:
--



commit ghc-fast-logger for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2018-05-30 12:07:18

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new (New)


Package is "ghc-fast-logger"

Wed May 30 12:07:18 2018 rev:11 rq:607796 version:2.4.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2017-09-15 21:39:13.043842745 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2018-05-30 12:25:39.813622554 +0200
@@ -1,0 +2,7 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update fast-logger to version 2.4.11.
+  * Give an explicit definition for (<>) in LogStr's Semigroup instance.
+[#155](https://github.com/kazu-yamamoto/logger/pull/155)
+
+---

Old:

  fast-logger-2.4.10.tar.gz

New:

  fast-logger-2.4.11.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.6FePXI/_old  2018-05-30 12:25:40.629595537 +0200
+++ /var/tmp/diff_new_pack.6FePXI/_new  2018-05-30 12:25:40.633595406 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fast-logger
 #
-# 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 fast-logger
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.4.10
+Version:2.4.11
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause
@@ -74,7 +74,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md README.md

++ fast-logger-2.4.10.tar.gz -> fast-logger-2.4.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.10/ChangeLog.md 
new/fast-logger-2.4.11/ChangeLog.md
--- old/fast-logger-2.4.10/ChangeLog.md 2017-01-31 06:26:03.0 +0100
+++ new/fast-logger-2.4.11/ChangeLog.md 2018-02-05 03:01:32.0 +0100
@@ -1,3 +1,7 @@
+## 2.4.11
+
+* Give an explicit definition for (<>) in LogStr's Semigroup instance. 
[#155](https://github.com/kazu-yamamoto/logger/pull/155)
+
 ## 2.4.10
 
 * Fix Windows build on GHC 7.8. 
[#121](https://github.com/kazu-yamamoto/logger/pull/121)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.10/System/Log/FastLogger/LogStr.hs 
new/fast-logger-2.4.11/System/Log/FastLogger/LogStr.hs
--- old/fast-logger-2.4.10/System/Log/FastLogger/LogStr.hs  2017-01-31 
06:26:03.0 +0100
+++ new/fast-logger-2.4.11/System/Log/FastLogger/LogStr.hs  2018-02-05 
03:01:32.0 +0100
@@ -25,7 +25,7 @@
 import Data.Monoid ((<>))
 #endif
 #if MIN_VERSION_base(4,9,0)
-import Data.Semigroup (Semigroup)
+import qualified Data.Semigroup as Semi (Semigroup(..))
 #endif
 import Data.String (IsString(..))
 import qualified Data.Text as T
@@ -56,7 +56,8 @@
 data LogStr = LogStr !Int Builder
 
 #if MIN_VERSION_base(4,9,0)
-instance Semigroup LogStr
+instance Semi.Semigroup LogStr where
+LogStr s1 b1 <> LogStr s2 b2 = LogStr (s1 + s2) (b1 <> b2)
 #endif
 
 instance Monoid LogStr where
@@ -82,6 +83,12 @@
 instance ToLogStr TL.Text where
 toLogStr = toLogStr . TL.encodeUtf8
 
+instance Show LogStr where
+  show = show . T.decodeUtf8 . fromLogStr
+
+instance Eq LogStr where
+  a == b = fromLogStr a == fromLogStr b
+
 -- | Obtaining the length of 'LogStr'.
 logStrLength :: LogStr -> Int
 logStrLength (LogStr n _) = n
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.10/System/Log/FastLogger.hs 
new/fast-logger-2.4.11/System/Log/FastLogger.hs
--- old/fast-logger-2.4.10/System/Log/FastLogger.hs 2017-01-31 
06:26:03.0 +0100
+++ new/fast-logger-2.4.11/System/Log/FastLogger.hs 2018-02-05 
03:01:32.0 +0100
@@ -182,7 +182,8 @@
 = LogNone -- ^ No logging.
 | LogStdout BufSize   -- ^ Logging to stdout.
   --   'BufSize' is a buffer size
-| LogStderr BufSize   -- ^ Logging to stdout.
+  --   for each capability.
+| LogStderr BufSize   -- ^ Logging to stderr.
   --   'BufSize' is a buffer size
   --   for each capability.
 | LogFileNoRotate FilePath BufSize
diff -urN 

commit ghc-fast-logger for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2017-09-15 21:39:10

Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fast-logger.new (New)


Package is "ghc-fast-logger"

Fri Sep 15 21:39:10 2017 rev:10 rq:524504 version:2.4.10

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes  
2017-02-21 13:45:28.377565812 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2017-09-15 21:39:13.043842745 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.qKRCWv/_old  2017-09-15 21:39:13.883724408 +0200
+++ /var/tmp/diff_new_pack.qKRCWv/_new  2017-09-15 21:39:13.887723845 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:A fast logging system
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+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-array-devel
@@ -37,7 +37,6 @@
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-unix-devel
 BuildRequires:  ghc-unix-time-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -47,7 +46,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -75,11 +74,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc ChangeLog.md README.md
 
 %changelog




commit ghc-fast-logger for openSUSE:Factory

2017-02-21 Thread root
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.0 +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.0 +0200
+++ new/fast-logger-2.4.10/ChangeLog.md 2017-01-31 06:26:03.0 +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.0 +0200
+++ new/fast-logger-2.4.10/System/Log/FastLogger/FileIO.hs  2017-01-31 
06:26:03.0 +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.0 +0200
+++ new/fast-logger-2.4.10/System/Log/FastLogger/LogStr.hs  2017-01-31 
06:26:03.0 +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 

commit ghc-fast-logger for openSUSE:Factory

2016-10-14 Thread h_root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2016-10-14 09:06:19

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-07-20 09:18:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2016-10-14 09:06:20.0 +0200
@@ -1,0 +2,5 @@
+Sat Oct  1 17:18:08 UTC 2016 - psim...@suse.com
+
+- Update to version 2.4.7 with cabal2obs.
+
+---

Old:

  fast-logger-2.4.6.tar.gz

New:

  fast-logger-2.4.7.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.3kIFoK/_old  2016-10-14 09:06:21.0 +0200
+++ /var/tmp/diff_new_pack.3kIFoK/_new  2016-10-14 09:06:21.0 +0200
@@ -19,15 +19,14 @@
 %global pkg_name fast-logger
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.4.6
+Version:2.4.7
 Release:0
 Summary:A fast logging system
 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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-auto-update-devel
 BuildRequires:  ghc-bytestring-builder-devel
@@ -43,7 +42,6 @@
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
-# End cabal-rpm deps
 
 %description
 A fast logging system.
@@ -62,20 +60,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ fast-logger-2.4.6.tar.gz -> fast-logger-2.4.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.6/ChangeLog.md 
new/fast-logger-2.4.7/ChangeLog.md
--- old/fast-logger-2.4.6/ChangeLog.md  2016-04-26 09:41:24.0 +0200
+++ new/fast-logger-2.4.7/ChangeLog.md  2016-09-29 04:00:40.0 +0200
@@ -1,3 +1,7 @@
+## 2.4.7
+
+* Fixing interleaved log output when messages are larger than buffer size. 
[#103](https://github.com/kazu-yamamoto/logger/pull/103)
+
 ## 2.4.6
 
 * Ensuring that stdio is flushed. 
[#92](https://github.com/kazu-yamamoto/logger/pull/92)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.6/System/Log/FastLogger/File.hs 
new/fast-logger-2.4.7/System/Log/FastLogger/File.hs
--- old/fast-logger-2.4.6/System/Log/FastLogger/File.hs 2016-04-26 
09:41:24.0 +0200
+++ new/fast-logger-2.4.7/System/Log/FastLogger/File.hs 2016-09-29 
04:00:40.0 +0200
@@ -9,8 +9,8 @@
 -- | The spec for logging files
 data FileLogSpec = FileLogSpec {
 log_file :: FilePath
-  , log_file_size :: Integer
-  , log_backup_number :: Int
+  , log_file_size :: Integer -- ^ Max log file size (in bytes) before 
requiring rotation.
+  , log_backup_number :: Int -- ^ Max number of rotated log files to keep 
around before overwriting the oldest one.
   }
 
 -- | Checking if a log file can be written.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.6/System/Log/FastLogger/Logger.hs 
new/fast-logger-2.4.7/System/Log/FastLogger/Logger.hs
--- old/fast-logger-2.4.6/System/Log/FastLogger/Logger.hs   2016-04-26 
09:41:24.0 +0200
+++ new/fast-logger-2.4.7/System/Log/FastLogger/Logger.hs   2016-09-29 
04:00:40.0 +0200
@@ -10,6 +10,7 @@
 
 import Control.Concurrent (MVar, newMVar, withMVar)
 import Control.Monad (when)
+import Foreign.Marshal.Alloc (allocaBytes)
 import Foreign.Ptr (plusPtr)
 import System.Log.FastLogger.FileIO
 import System.Log.FastLogger.IO
@@ -35,7 +36,13 @@
 pushLog fd logger@(Logger mbuf size ref) nlogmsg@(LogStr nlen nbuilder)
   | nlen > size = do
   flushLog fd logger
-  withMVar mbuf $ \buf -> toBufIOWith buf size (write fd) nbuilder
+
+  -- Make sure we have a large enough buffer to hold the entire
+  -- contents, thereby allowing for a single write system call and
+  -- avoiding interleaving. This does not address the possibility
+  -- of write not writing the entire buffer at once.
+  allocaBytes nlen $ \buf -> withMVar mbuf $ \_ ->
+toBufIOWith buf nlen (write fd) nbuilder
   | otherwise = do
 mmsg <- 

commit ghc-fast-logger for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2016-07-20 09:18:28

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-05-03 10:16:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2016-07-20 09:18:30.0 +0200
@@ -1,0 +2,6 @@
+Sun Jul 10 17:23:22 UTC 2016 - psim...@suse.com
+
+- Update to version 2.4.6 revision 0 with cabal2obs.
+- Remove obsolete remove-bytestring-builder.patch.
+
+---

Old:

  remove-bytestring-builder.patch



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.QL5Gi9/_old  2016-07-20 09:18:31.0 +0200
+++ /var/tmp/diff_new_pack.QL5Gi9/_new  2016-07-20 09:18:31.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fast-logger
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -15,35 +15,31 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name fast-logger
 
+%global pkg_name fast-logger
 %bcond_with tests
-
-Name:   ghc-fast-logger
+Name:   ghc-%{pkg_name}
 Version:2.4.6
 Release:0
 Summary:A fast logging system
-Group:  System/Libraries
-
 License:BSD-3-Clause
+Group:  System/Libraries
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM remove-bytestring-builder.patch - remove obsolete deps 
from *.cabal
-Patch0: remove-bytestring-builder.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 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
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-unix-devel
 BuildRequires:  ghc-unix-time-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -52,22 +48,20 @@
 %description
 A fast logging system.
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
-%patch0 -p1
+
 
 %build
 %ghc_lib_build
@@ -79,26 +73,22 @@
 
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
 
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md ChangeLog.md
-
+%doc ChangeLog.md README.md
 
 %changelog




commit ghc-fast-logger for openSUSE:Factory

2016-05-03 Thread h_root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2016-05-03 09:37:15

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-04-30 23:30:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2016-05-03 10:16:43.0 +0200
@@ -1,0 +2,6 @@
+Wed Apr 27 18:23:38 UTC 2016 - mimi...@gmail.com
+
+- update to 2.4.6
+* Ensuring that stdio is flushed.
+
+---

Old:

  fast-logger-2.4.5.tar.gz

New:

  fast-logger-2.4.6.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.ZIAfC4/_old  2016-05-03 10:16:44.0 +0200
+++ /var/tmp/diff_new_pack.ZIAfC4/_new  2016-05-03 10:16:44.0 +0200
@@ -20,7 +20,7 @@
 %bcond_with tests
 
 Name:   ghc-fast-logger
-Version:2.4.5
+Version:2.4.6
 Release:0
 Summary:A fast logging system
 Group:  System/Libraries

++ fast-logger-2.4.5.tar.gz -> fast-logger-2.4.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.5/ChangeLog.md 
new/fast-logger-2.4.6/ChangeLog.md
--- old/fast-logger-2.4.5/ChangeLog.md  2016-04-15 15:44:48.0 +0200
+++ new/fast-logger-2.4.6/ChangeLog.md  2016-04-26 09:41:24.0 +0200
@@ -1,3 +1,11 @@
+## 2.4.6
+
+* Ensuring that stdio is flushed. 
[#92](https://github.com/kazu-yamamoto/logger/pull/92)
+
+## 2.4.5
+
+* Bringing backward compatibility back.
+
 ## 2.4.4
 
 * New API: newFastLogger and ewTimedFastLogger.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.5/System/Log/FastLogger.hs 
new/fast-logger-2.4.6/System/Log/FastLogger.hs
--- old/fast-logger-2.4.5/System/Log/FastLogger.hs  2016-04-15 
15:44:48.0 +0200
+++ new/fast-logger-2.4.6/System/Log/FastLogger.hs  2016-04-26 
09:41:24.0 +0200
@@ -195,14 +195,14 @@
 -- a tuple of logger and clean up action are returned.
 newFastLogger :: LogType -> IO (FastLogger, IO ())
 newFastLogger typ = case typ of
-LogNone -> return (const noOp, noOp)
-LogStdout bsize -> newStdoutLoggerSet bsize >>= stdLoggerInit
-LogStderr bsize -> newStderrLoggerSet bsize >>= stdLoggerInit
-LogFileNoRotate fp bsize ->  newFileLoggerSet bsize fp >>= fileLoggerInit
-LogFile fspec bsize -> rotateLoggerInit fspec bsize
-LogCallback cb flush -> return (\ str -> cb str >> flush, noOp )
+LogNone  -> return (const noOp, noOp)
+LogStdout bsize  -> newStdoutLoggerSet bsize >>= stdLoggerInit
+LogStderr bsize  -> newStderrLoggerSet bsize >>= stdLoggerInit
+LogFileNoRotate fp bsize -> newFileLoggerSet bsize fp >>= fileLoggerInit
+LogFile fspec bsize  -> rotateLoggerInit fspec bsize
+LogCallback cb flush -> return (\str -> cb str >> flush, noOp)
   where
-stdLoggerInit lgrset = return (pushLogStr lgrset, noOp)
+stdLoggerInit lgrset = return (pushLogStr lgrset, rmLoggerSet lgrset)
 fileLoggerInit lgrset = return (pushLogStr lgrset, rmLoggerSet lgrset)
 rotateLoggerInit fspec bsize = do
 lgrset <- newFileLoggerSet bsize $ log_file fspec
@@ -225,14 +225,14 @@
 -- "System.Log.FastLogger.Date" provide cached 
formatted time.
 -> LogType -> IO (TimedFastLogger, IO ())
 newTimedFastLogger tgetter typ = case typ of
-LogNone -> return (const noOp, noOp)
-LogStdout bsize -> newStdoutLoggerSet bsize >>= stdLoggerInit
-LogStderr bsize -> newStderrLoggerSet bsize >>= stdLoggerInit
-LogFileNoRotate fp bsize ->  newFileLoggerSet bsize fp >>= fileLoggerInit
-LogFile fspec bsize -> rotateLoggerInit fspec bsize
-LogCallback cb flush -> return (\ f -> tgetter >>= cb . f >> flush, noOp )
+LogNone  -> return (const noOp, noOp)
+LogStdout bsize  -> newStdoutLoggerSet bsize >>= stdLoggerInit
+LogStderr bsize  -> newStderrLoggerSet bsize >>= stdLoggerInit
+LogFileNoRotate fp bsize -> newFileLoggerSet bsize fp >>= fileLoggerInit
+LogFile fspec bsize  -> rotateLoggerInit fspec bsize
+LogCallback cb flush -> return (\f -> tgetter >>= cb . f >> flush, 
noOp)
   where
-stdLoggerInit lgrset = return ( \f -> tgetter >>= pushLogStr lgrset . f, 
noOp)
+stdLoggerInit lgrset = return ( \f -> tgetter >>= pushLogStr lgrset . f, 
rmLoggerSet lgrset)
 fileLoggerInit lgrset = 

commit ghc-fast-logger for openSUSE:Factory

2016-04-30 Thread h_root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2016-04-30 23:30:16

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-04-22 16:25:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2016-04-30 23:30:18.0 +0200
@@ -1,0 +2,9 @@
+Tue Apr 26 08:23:17 UTC 2016 - mimi...@gmail.com
+
+- update to 2.4.5
+- refreshed remove-bytestring-builder.patch
+* Bringing backward compatibility back
+* New API: newFastLogger and ewTimedFastLogger.
+* LogType and date cache are transferred from wai-logger.
+
+---

Old:

  fast-logger-2.4.3.tar.gz

New:

  fast-logger-2.4.5.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.2nyoYu/_old  2016-04-30 23:30:19.0 +0200
+++ /var/tmp/diff_new_pack.2nyoYu/_new  2016-04-30 23:30:19.0 +0200
@@ -20,7 +20,7 @@
 %bcond_with tests
 
 Name:   ghc-fast-logger
-Version:2.4.3
+Version:2.4.5
 Release:0
 Summary:A fast logging system
 Group:  System/Libraries
@@ -39,8 +39,11 @@
 BuildRequires:  ghc-auto-update-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-easy-file-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-unix-devel
+BuildRequires:  ghc-unix-time-devel
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -95,7 +98,7 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc README.md ChangeLog.md
 
 
 %changelog

++ fast-logger-2.4.3.tar.gz -> fast-logger-2.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.3/ChangeLog.md 
new/fast-logger-2.4.5/ChangeLog.md
--- old/fast-logger-2.4.3/ChangeLog.md  2016-04-12 06:20:01.0 +0200
+++ new/fast-logger-2.4.5/ChangeLog.md  2016-04-15 15:44:48.0 +0200
@@ -1,3 +1,8 @@
+## 2.4.4
+
+* New API: newFastLogger and ewTimedFastLogger.
+* LogType and date cache are transferred from wai-logger.
+
 ## 2.4.3
 
 * Opening files in the append mode on Windows.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.3/System/Log/FastLogger/Date.hs 
new/fast-logger-2.4.5/System/Log/FastLogger/Date.hs
--- old/fast-logger-2.4.3/System/Log/FastLogger/Date.hs 1970-01-01 
01:00:00.0 +0100
+++ new/fast-logger-2.4.5/System/Log/FastLogger/Date.hs 2016-04-15 
15:44:48.0 +0200
@@ -0,0 +1,75 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE OverloadedStrings #-}
+
+-- |
+-- Formatting time is slow.
+-- This package provides mechanisms to cache formatted date.
+module System.Log.FastLogger.Date (
+  -- * Types
+TimeFormat
+  , FormattedTime
+  -- * Date cacher
+  , newTimeCache
+  , simpleTimeFormat
+  , simpleTimeFormat'
+  ) where
+
+import Control.AutoUpdate (mkAutoUpdate, defaultUpdateSettings, updateAction)
+import Data.ByteString (ByteString)
+#if WINDOWS
+import qualified Data.ByteString.Char8 as BS
+import Data.Time (UTCTime, formatTime, getCurrentTime, utcToLocalZonedTime)
+# if MIN_VERSION_time(1,5,0)
+import Data.Time (defaultTimeLocale)
+# else
+import System.Locale (defaultTimeLocale)
+# endif
+#else
+import Data.UnixTime (formatUnixTime, fromEpochTime)
+import System.Posix (EpochTime, epochTime)
+#endif
+
+
+
+-- | Type aliaes for date format and formatted date.
+type FormattedTime = ByteString
+type TimeFormat = ByteString
+
+
+
+#if WINDOWS
+-- | Get date using UTC.
+getTime :: IO UTCTime
+getTime = getCurrentTime
+-- | Format UTC date.
+formatDate :: TimeFormat -> UTCTime -> IO FormattedTime
+formatDate fmt ut = do
+  zt <- utcToLocalZonedTime ut
+  return $ BS.pack $ formatTime defaultTimeLocale (BS.unpack fmt) zt
+#else
+-- | Get date using UnixTime.
+getTime :: IO EpochTime
+getTime = epochTime
+-- | Format unix EpochTime date.
+formatDate :: TimeFormat -> EpochTime -> IO FormattedTime
+formatDate fmt = formatUnixTime fmt . fromEpochTime
+#endif
+
+
+
+-- |  Make 'IO' action which get cached formatted local time.
+-- Use this to avoid the cost of frequently time formatting by caching an
+-- auto updating formatted time, this cache update every 1 second.

commit ghc-fast-logger for openSUSE:Factory

2016-04-22 Thread h_root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2016-04-22 16:24:56

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-04-12 19:38:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2016-04-22 16:25:20.0 +0200
@@ -2 +2 @@
-Thu Apr  7 11:33:42 UTC 2016 - mimi...@gmail.com
+Wed Apr 13 09:49:04 UTC 2016 - mimi...@gmail.com
@@ -4 +4 @@
-- update to 2.4.2
+- update to 2.4.3

Old:

  fast-logger-2.4.2.tar.gz

New:

  fast-logger-2.4.3.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.Heih3h/_old  2016-04-22 16:25:21.0 +0200
+++ /var/tmp/diff_new_pack.Heih3h/_new  2016-04-22 16:25:21.0 +0200
@@ -20,7 +20,7 @@
 %bcond_with tests
 
 Name:   ghc-fast-logger
-Version:2.4.2
+Version:2.4.3
 Release:0
 Summary:A fast logging system
 Group:  System/Libraries

++ fast-logger-2.4.2.tar.gz -> fast-logger-2.4.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.2/ChangeLog.md 
new/fast-logger-2.4.3/ChangeLog.md
--- old/fast-logger-2.4.2/ChangeLog.md  2016-04-05 04:07:56.0 +0200
+++ new/fast-logger-2.4.3/ChangeLog.md  2016-04-12 06:20:01.0 +0200
@@ -1,3 +1,7 @@
+## 2.4.3
+
+* Opening files in the append mode on Windows.
+
 ## 2.4.2
 
 * Fixing a buf of long log messages 
[#80](https://github.com/kazu-yamamoto/logger/pull/80)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.2/System/Log/FastLogger/FileIO.hs 
new/fast-logger-2.4.3/System/Log/FastLogger/FileIO.hs
--- old/fast-logger-2.4.2/System/Log/FastLogger/FileIO.hs   2016-04-05 
04:07:56.0 +0200
+++ new/fast-logger-2.4.3/System/Log/FastLogger/FileIO.hs   2016-04-12 
06:20:01.0 +0200
@@ -6,19 +6,23 @@
 import Data.Word (Word8)
 
 #ifdef mingw32_HOST_OS
-import System.Win32.Types (HANDLE)
+import System.Win32.Types (HANDLE, UINT)
 import System.Win32.File
 import Graphics.Win32.Misc (getStdHandle, sTD_OUTPUT_HANDLE, sTD_ERROR_HANDLE)
 import Data.Bits ((.|.))
 
 type FD = HANDLE
 
+-- This flag is not defined in System.Win32.File
+fILE_APPEND_DATA :: UINT
+fILE_APPEND_DATA = 0x0004
+
 closeFD :: FD -> IO ()
 closeFD = closeHandle
 
 openFileFD :: FilePath -> IO FD
 openFileFD f = createFile f
- (gENERIC_READ .|. gENERIC_WRITE)
+ fILE_APPEND_DATA
  (fILE_SHARE_READ .|. fILE_SHARE_DELETE)
  Nothing
  oPEN_ALWAYS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.2/fast-logger.cabal 
new/fast-logger-2.4.3/fast-logger.cabal
--- old/fast-logger-2.4.2/fast-logger.cabal 2016-04-05 04:07:56.0 
+0200
+++ new/fast-logger-2.4.3/fast-logger.cabal 2016-04-12 06:20:01.0 
+0200
@@ -1,5 +1,5 @@
 Name:   fast-logger
-Version:2.4.2
+Version:2.4.3
 Author: Kazu Yamamoto 
 Maintainer: Kazu Yamamoto 
 License:BSD3




commit ghc-fast-logger for openSUSE:Factory

2016-04-12 Thread h_root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2016-04-12 19:37:59

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  
2015-08-25 08:48:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2016-04-12 19:38:00.0 +0200
@@ -1,0 +2,7 @@
+Thu Apr  7 11:33:42 UTC 2016 - mimi...@gmail.com
+
+- update to 2.4.2
+* Fixing a buf of long log messages
+* Unsupporting GHC 7.4
+
+---

Old:

  fast-logger-2.4.1.tar.gz

New:

  fast-logger-2.4.2.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.IHQAWc/_old  2016-04-12 19:38:01.0 +0200
+++ /var/tmp/diff_new_pack.IHQAWc/_new  2016-04-12 19:38:01.0 +0200
@@ -20,7 +20,7 @@
 %bcond_with tests
 
 Name:   ghc-fast-logger
-Version:2.4.1
+Version:2.4.2
 Release:0
 Summary:A fast logging system
 Group:  System/Libraries

++ fast-logger-2.4.1.tar.gz -> fast-logger-2.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.1/ChangeLog.md 
new/fast-logger-2.4.2/ChangeLog.md
--- old/fast-logger-2.4.1/ChangeLog.md  2015-08-12 14:53:42.0 +0200
+++ new/fast-logger-2.4.2/ChangeLog.md  2016-04-05 04:07:56.0 +0200
@@ -1,3 +1,22 @@
+## 2.4.2
+
+* Fixing a buf of long log messages 
[#80](https://github.com/kazu-yamamoto/logger/pull/80)
+* Log rotation support for Windows 
[#79](https://github.com/kazu-yamamoto/logger/pull/79)
+* Unsupporting GHC 7.4.
+
+## 2.4.1
+
+* Restore compatibility with bytestring < 0.10
+* Mark fast-logger modules as Safe/Trustworth 
[#68](https://github.com/kazu-yamamoto/logger/pull/68)
+
+## 2.4.0
+
+* Providing pushLogStrLn. 
[#64](https://github.com/kazu-yamamoto/logger/pull/64)
+
+## 2.3.1
+
+* No changes.
+
 ## 2.3.0
 
 * Move from blaze-builder to `Data.ByteString.Builder` 
[#55](https://github.com/kazu-yamamoto/logger/pull/55)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.1/System/Log/FastLogger/FileIO.hs 
new/fast-logger-2.4.2/System/Log/FastLogger/FileIO.hs
--- old/fast-logger-2.4.1/System/Log/FastLogger/FileIO.hs   1970-01-01 
01:00:00.0 +0100
+++ new/fast-logger-2.4.2/System/Log/FastLogger/FileIO.hs   2016-04-05 
04:07:56.0 +0200
@@ -0,0 +1,61 @@
+{-# LANGUAGE CPP #-}
+
+module System.Log.FastLogger.FileIO where
+
+import Foreign.Ptr (Ptr)
+import Data.Word (Word8)
+
+#ifdef mingw32_HOST_OS
+import System.Win32.Types (HANDLE)
+import System.Win32.File
+import Graphics.Win32.Misc (getStdHandle, sTD_OUTPUT_HANDLE, sTD_ERROR_HANDLE)
+import Data.Bits ((.|.))
+
+type FD = HANDLE
+
+closeFD :: FD -> IO ()
+closeFD = closeHandle
+
+openFileFD :: FilePath -> IO FD
+openFileFD f = createFile f
+ (gENERIC_READ .|. gENERIC_WRITE)
+ (fILE_SHARE_READ .|. fILE_SHARE_DELETE)
+ Nothing
+ oPEN_ALWAYS
+ fILE_ATTRIBUTE_NORMAL
+ Nothing
+
+getStderrFD :: IO FD
+getStderrFD = getStdHandle sTD_ERROR_HANDLE
+
+getStdoutFD :: IO FD
+getStdoutFD = getStdHandle sTD_OUTPUT_HANDLE
+
+writeRawBufferPtr2FD :: FD -> Ptr Word8 -> Int -> IO Int
+writeRawBufferPtr2FD h bf len = fromIntegral `fmap` win32_WriteFile h bf 
(fromIntegral len) Nothing
+
+#else
+
+import GHC.IO.Device (close)
+import qualified GHC.IO.FD as POSIX (FD(..))
+import GHC.IO.FD (openFile, stderr, stdout,  writeRawBufferPtr)
+import GHC.IO.IOMode (IOMode(..))
+
+type FD = POSIX.FD
+
+closeFD :: FD -> IO ()
+closeFD = close
+
+openFileFD :: FilePath -> IO FD
+openFileFD f = fst `fmap` openFile f AppendMode False
+
+getStderrFD :: IO FD
+getStderrFD = return stderr
+
+getStdoutFD :: IO FD
+getStdoutFD = return stdout
+
+writeRawBufferPtr2FD :: FD -> Ptr Word8 -> Int -> IO Int
+writeRawBufferPtr2FD fd bf len = fromIntegral `fmap` writeRawBufferPtr "write" 
fd bf 0 (fromIntegral len)
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.4.1/System/Log/FastLogger/IO.hs 
new/fast-logger-2.4.2/System/Log/FastLogger/IO.hs
--- old/fast-logger-2.4.1/System/Log/FastLogger/IO.hs   2015-08-12 
14:53:42.0 +0200
+++ new/fast-logger-2.4.2/System/Log/FastLogger/IO.hs   2016-04-05 
04:07:56.0 +0200
@@ -38,6 +38,5 @@
 

commit ghc-fast-logger for openSUSE:Factory

2015-08-25 Thread h_root
Hello community,

here is the log from the commit of package ghc-fast-logger for openSUSE:Factory 
checked in at 2015-08-25 07:19:34

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  
2015-05-22 09:50:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 
2015-08-25 08:48:16.0 +0200
@@ -1,0 +2,10 @@
+Sun Aug 16 17:44:04 UTC 2015 - mimi...@gmail.com
+
+- update to 2.4.1
+
+---
+Fri Aug  7 07:06:21 UTC 2015 - mimi...@gmail.com
+
+- update to 2.4.0  
+
+---

Old:

  fast-logger-2.3.1.tar.gz

New:

  fast-logger-2.4.1.tar.gz



Other differences:
--
++ ghc-fast-logger.spec ++
--- /var/tmp/diff_new_pack.AgnCab/_old  2015-08-25 08:48:16.0 +0200
+++ /var/tmp/diff_new_pack.AgnCab/_new  2015-08-25 08:48:16.0 +0200
@@ -19,8 +19,8 @@
 
 %bcond_with tests
 
-Name:   ghc-%{pkg_name}
-Version:2.3.1
+Name:   ghc-fast-logger
+Version:2.4.1
 Release:0
 Summary:A fast logging system
 Group:  System/Libraries

++ fast-logger-2.3.1.tar.gz - fast-logger-2.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/File.hs 
new/fast-logger-2.4.1/System/Log/FastLogger/File.hs
--- old/fast-logger-2.3.1/System/Log/FastLogger/File.hs 2015-03-28 
12:51:35.0 +0100
+++ new/fast-logger-2.4.1/System/Log/FastLogger/File.hs 2015-08-12 
14:53:42.0 +0200
@@ -1,3 +1,5 @@
+{-# LANGUAGE Safe #-}
+
 module System.Log.FastLogger.File where
 
 import Control.Monad (unless, when)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/IO.hs 
new/fast-logger-2.4.1/System/Log/FastLogger/IO.hs
--- old/fast-logger-2.3.1/System/Log/FastLogger/IO.hs   2015-03-28 
12:51:35.0 +0100
+++ new/fast-logger-2.4.1/System/Log/FastLogger/IO.hs   2015-08-12 
14:53:42.0 +0200
@@ -1,4 +1,5 @@
 {-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE Trustworthy #-}
 
 module System.Log.FastLogger.IO where
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/IORef.hs 
new/fast-logger-2.4.1/System/Log/FastLogger/IORef.hs
--- old/fast-logger-2.3.1/System/Log/FastLogger/IORef.hs2015-03-28 
12:51:35.0 +0100
+++ new/fast-logger-2.4.1/System/Log/FastLogger/IORef.hs2015-08-12 
14:53:42.0 +0200
@@ -1,4 +1,5 @@
 {-# LANGUAGE CPP #-}
+{-# LANGUAGE Safe #-}
 
 module System.Log.FastLogger.IORef (
IORef
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/LogStr.hs 
new/fast-logger-2.4.1/System/Log/FastLogger/LogStr.hs
--- old/fast-logger-2.3.1/System/Log/FastLogger/LogStr.hs   2015-03-28 
12:51:35.0 +0100
+++ new/fast-logger-2.4.1/System/Log/FastLogger/LogStr.hs   2015-08-12 
14:53:42.0 +0200
@@ -1,5 +1,6 @@
 {-# LANGUAGE CPP #-}
 {-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE Safe #-}
 
 module System.Log.FastLogger.LogStr (
 Builder
@@ -13,11 +14,13 @@
 
 import Data.ByteString.Builder (Builder)
 import qualified Data.ByteString.Builder as B
+import Data.ByteString (ByteString)
 import qualified Data.ByteString as BS
 import qualified Data.ByteString.Char8 as S8
-import Data.ByteString.Internal (ByteString(..))
 import qualified Data.ByteString.Lazy as BL
+#if __GLASGOW_HASKELL__  709
 import Data.Monoid (Monoid, mempty, mappend)
+#endif
 #if MIN_VERSION_base(4,5,0)
 import Data.Monoid (())
 #endif
@@ -38,7 +41,11 @@
 toBuilder = B.byteString
 
 fromBuilder :: Builder - ByteString
+#if MIN_VERSION_bytestring(0,10,0)
 fromBuilder = BL.toStrict . B.toLazyByteString
+#else
+fromBuilder = BS.concat . BL.toChunks . B.toLazyByteString
+#endif
 
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/Logger.hs 
new/fast-logger-2.4.1/System/Log/FastLogger/Logger.hs
--- old/fast-logger-2.3.1/System/Log/FastLogger/Logger.hs   2015-03-28 
12:51:35.0 +0100
+++ new/fast-logger-2.4.1/System/Log/FastLogger/Logger.hs   2015-08-12 
14:53:42.0 +0200
@@ -1,4 +1,5 @@
 {-# LANGUAGE BangPatterns, CPP #-}
+{-# LANGUAGE Safe #-}