Hello community,

here is the log from the commit of package ghc-aeson-pretty for 
openSUSE:Factory checked in at 2017-06-22 10:36:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-aeson-pretty (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-aeson-pretty.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-aeson-pretty"

Thu Jun 22 10:36:38 2017 rev:4 rq:504054 version:0.8.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-aeson-pretty/ghc-aeson-pretty.changes        
2016-10-23 12:50:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-aeson-pretty.new/ghc-aeson-pretty.changes   
2017-06-22 10:36:48.367963572 +0200
@@ -1,0 +2,5 @@
+Wed May 31 14:05:43 UTC 2017 - psim...@suse.com
+
+- Update to version 0.8.4.
+
+-------------------------------------------------------------------

Old:
----
  aeson-pretty-0.8.2.tar.gz

New:
----
  aeson-pretty-0.8.4.tar.gz

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

Other differences:
------------------
++++++ ghc-aeson-pretty.spec ++++++
--- /var/tmp/diff_new_pack.4rmnxR/_old  2017-06-22 10:36:50.055725644 +0200
+++ /var/tmp/diff_new_pack.4rmnxR/_new  2017-06-22 10:36:50.059725080 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-aeson-pretty
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %global pkg_name aeson-pretty
 Name:           ghc-%{pkg_name}
-Version:        0.8.2
+Version:        0.8.4
 Release:        0
 Summary:        JSON pretty-printing library and command-line tool
 License:        BSD-3-Clause
@@ -73,7 +73,7 @@
 
 %install
 %ghc_lib_install
-%ghc_fix_dynamic_rpath %{pkg_name}
+%ghc_fix_rpath %{pkg_name}-%{version}
 
 %post devel
 %ghc_pkg_recache

++++++ aeson-pretty-0.8.2.tar.gz -> aeson-pretty-0.8.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-pretty-0.8.2/Data/Aeson/Encode/Pretty.hs 
new/aeson-pretty-0.8.4/Data/Aeson/Encode/Pretty.hs
--- old/aeson-pretty-0.8.2/Data/Aeson/Encode/Pretty.hs  2016-09-09 
20:18:24.000000000 +0200
+++ new/aeson-pretty-0.8.4/Data/Aeson/Encode/Pretty.hs  2017-05-28 
09:59:59.000000000 +0200
@@ -120,7 +120,7 @@
 -- |The default configuration: indent by four spaces per level of nesting, do
 --  not sort objects by key.
 --
---  > defConfig = Config { confIndent = 4, confCompare = mempty, confNumFormat 
= Generic }
+--  > defConfig = Config { confIndent = Spaces 4, confCompare = mempty, 
confNumFormat = Generic }
 defConfig :: Config
 defConfig =
   Config {confIndent = Spaces 4, confCompare = mempty, confNumFormat = Generic}
@@ -197,7 +197,9 @@
 
 fromNumber :: PState -> S.Scientific -> Builder
 fromNumber st x = case pNumFormat st of
-  Generic    -> Aeson.encodeToTextBuilder $ Number x
+  Generic
+    | (x > 1.0e19 || x < -1.0e19) -> formatScientificBuilder S.Exponent 
Nothing x
+    | otherwise -> Aeson.encodeToTextBuilder $ Number x
   Scientific -> formatScientificBuilder S.Exponent Nothing x
   Decimal    -> formatScientificBuilder S.Fixed Nothing x
   Custom f   -> f x
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-pretty-0.8.2/aeson-pretty.cabal 
new/aeson-pretty-0.8.4/aeson-pretty.cabal
--- old/aeson-pretty-0.8.2/aeson-pretty.cabal   2016-09-09 20:19:04.000000000 
+0200
+++ new/aeson-pretty-0.8.4/aeson-pretty.cabal   2017-05-28 10:00:32.000000000 
+0200
@@ -1,5 +1,5 @@
 name:           aeson-pretty
-version:        0.8.2
+version:        0.8.4
 license:        BSD3
 license-file:   LICENSE
 category:       Text, Web, JSON, Pretty Printer


Reply via email to