commit ghc-libyaml for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-libyaml for openSUSE:Factory 
checked in at 2020-08-28 21:34:36

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


Package is "ghc-libyaml"

Fri Aug 28 21:34:36 2020 rev:6 rq:829335 version:0.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-libyaml/ghc-libyaml.changes  2020-06-19 
17:14:25.370344394 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-libyaml.new.3399/ghc-libyaml.changes
2020-08-28 21:34:37.148702229 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:20 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-libyaml.spec ++
--- /var/tmp/diff_new_pack.HAos2g/_old  2020-08-28 21:34:37.876702574 +0200
+++ /var/tmp/diff_new_pack.HAos2g/_new  2020-08-28 21:34:37.876702574 +0200
@@ -47,7 +47,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %define cabal_configure_options -fsystem-libyaml




commit ghc-libyaml for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-libyaml for openSUSE:Factory 
checked in at 2020-06-19 17:14:22

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


Package is "ghc-libyaml"

Fri Jun 19 17:14:22 2020 rev:5 rq:815123 version:0.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-libyaml/ghc-libyaml.changes  2020-03-09 
14:16:21.694624373 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-libyaml.new.3606/ghc-libyaml.changes
2020-06-19 17:14:25.370344394 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:19 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-libyaml.spec ++
--- /var/tmp/diff_new_pack.IwzSxv/_old  2020-06-19 17:14:26.426347685 +0200
+++ /var/tmp/diff_new_pack.IwzSxv/_new  2020-06-19 17:14:26.430347698 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-libyaml
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-libyaml for openSUSE:Factory

2020-03-09 Thread root
Hello community,

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

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


Package is "ghc-libyaml"

Mon Mar  9 14:16:18 2020 rev:4 rq:780021 version:0.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-libyaml/ghc-libyaml.changes  2019-12-27 
13:54:45.952698816 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-libyaml.new.26092/ghc-libyaml.changes   
2020-03-09 14:16:21.694624373 +0100
@@ -1,0 +2,8 @@
+Fri Feb  7 08:04:17 UTC 2020 - psim...@suse.com
+
+- Update libyaml to version 0.1.2.
+  ## 0.1.2
+
+  * Upgrade `libyaml` to 0.2.2
+
+---

Old:

  libyaml-0.1.1.1.tar.gz

New:

  libyaml-0.1.2.tar.gz



Other differences:
--
++ ghc-libyaml.spec ++
--- /var/tmp/diff_new_pack.eAzQZS/_old  2020-03-09 14:16:23.310625438 +0100
+++ /var/tmp/diff_new_pack.eAzQZS/_new  2020-03-09 14:16:23.314625441 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-libyaml
 #
-# 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
@@ -18,7 +18,7 @@
 
 %global pkg_name libyaml
 Name:   ghc-%{pkg_name}
-Version:0.1.1.1
+Version:0.1.2
 Release:0
 Summary:Low-level, streaming YAML interface
 License:BSD-3-Clause

++ libyaml-0.1.1.1.tar.gz -> libyaml-0.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.1.1/ChangeLog.md 
new/libyaml-0.1.2/ChangeLog.md
--- old/libyaml-0.1.1.1/ChangeLog.md2019-11-06 11:12:13.0 +0100
+++ new/libyaml-0.1.2/ChangeLog.md  2020-02-05 07:24:26.0 +0100
@@ -1,5 +1,9 @@
 # Changelog for libyaml
 
+## 0.1.2
+
+* Upgrade `libyaml` to 0.2.2
+
 ## 0.1.1.1
 
 * Work around GHC 8.6.5 issue on Windows preventing truncated files.  
[#178](https://github.com/snoyberg/yaml/issues/178)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.1.1/README.md new/libyaml-0.1.2/README.md
--- old/libyaml-0.1.1.1/README.md   2019-08-23 05:30:58.0 +0200
+++ new/libyaml-0.1.2/README.md 2020-02-05 07:23:43.0 +0100
@@ -1,3 +1,3 @@
 # libyaml
 
-This package provides a haskell wrapper over the [libyaml C library version 
0.2.1 by Kirill Simonov](https://github.com/yaml/libyaml). It contains the C 
source so you don't need to worry about any non-Haskell dependencies.
+This package provides a haskell wrapper over the [libyaml C library version 
0.2.2 by Kirill Simonov](https://github.com/yaml/libyaml). It contains the C 
source so you don't need to worry about any non-Haskell dependencies.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.1.1/libyaml.cabal 
new/libyaml-0.1.2/libyaml.cabal
--- old/libyaml-0.1.1.1/libyaml.cabal   2019-11-06 11:13:08.0 +0100
+++ new/libyaml-0.1.2/libyaml.cabal 2020-02-05 07:25:03.0 +0100
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: d35e8c4d317f96574fdc8b6a72f99c2244dacbb949ce1609e8dd56ddbe89a108
+-- hash: 93d917f62be86415287d10db638b1d5422a21b7a4c5b229fbe16b62c47717555
 
 name:   libyaml
-version:0.1.1.1
+version:0.1.2
 synopsis:   Low-level, streaming YAML interface.
 description:README and API documentation are available at 

 category:   Text
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.1.1/libyaml_src/LICENSE 
new/libyaml-0.1.2/libyaml_src/LICENSE
--- old/libyaml-0.1.1.1/libyaml_src/LICENSE 2019-08-23 05:30:58.0 
+0200
+++ new/libyaml-0.1.2/libyaml_src/LICENSE   2020-02-05 07:23:43.0 
+0100
@@ -1,4 +1,4 @@
-Copyright (c) 2017-2018 Ingy döt Net
+Copyright (c) 2017-2019 Ingy döt Net
 Copyright (c) 2006-2016 Kirill Simonov
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.1.1/libyaml_src/dumper.c 
new/libyaml-0.1.2/libyaml_src/dumper.c
--- old/libyaml-0.1.1.1/libyaml_src/dumper.c2019-08-23 05:30:58.0 
+0200
+++ new/libyaml-0.1.2/libyaml_src/dumper.c  2020-02-05 07:23:43.0 
+0100
@@ -131,7 +131,7 @@
 
 assert(emitter->opened);/* Emitter should be opened. */
 
-

commit ghc-libyaml for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-libyaml for openSUSE:Factory 
checked in at 2019-12-27 13:54:39

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


Package is "ghc-libyaml"

Fri Dec 27 13:54:39 2019 rev:3 rq:759438 version:0.1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-libyaml/ghc-libyaml.changes  2019-02-24 
17:18:45.500414663 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-libyaml.new.6675/ghc-libyaml.changes
2019-12-27 13:54:45.952698816 +0100
@@ -1,0 +2,13 @@
+Fri Nov  8 16:14:08 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---
+Thu Nov  7 06:42:01 UTC 2019 - psim...@suse.com
+
+- Update libyaml to version 0.1.1.1.
+  ## 0.1.1.1
+
+  * Work around GHC 8.6.5 issue on Windows preventing truncated files.  
[#178](https://github.com/snoyberg/yaml/issues/178)
+
+---

Old:

  libyaml-0.1.1.0.tar.gz

New:

  libyaml-0.1.1.1.tar.gz



Other differences:
--
++ ghc-libyaml.spec ++
--- /var/tmp/diff_new_pack.UpTYbz/_old  2019-12-27 13:54:47.600699613 +0100
+++ /var/tmp/diff_new_pack.UpTYbz/_new  2019-12-27 13:54:47.600699613 +0100
@@ -18,11 +18,10 @@
 
 %global pkg_name libyaml
 Name:   ghc-%{pkg_name}
-Version:0.1.1.0
+Version:0.1.1.1
 Release:0
 Summary:Low-level, streaming YAML interface
 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
@@ -38,7 +37,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires:   libyaml-devel

++ libyaml-0.1.1.0.tar.gz -> libyaml-0.1.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.1.0/ChangeLog.md 
new/libyaml-0.1.1.1/ChangeLog.md
--- old/libyaml-0.1.1.0/ChangeLog.md2019-02-12 09:55:32.0 +0100
+++ new/libyaml-0.1.1.1/ChangeLog.md2019-11-06 11:12:13.0 +0100
@@ -1,5 +1,9 @@
 # Changelog for libyaml
 
+## 0.1.1.1
+
+* Work around GHC 8.6.5 issue on Windows preventing truncated files.  
[#178](https://github.com/snoyberg/yaml/issues/178)
+
 ## 0.1.1.0
 
 * Add options to `FormatOptions` to govern when tags rendered explicitly and 
when they are left implicit. [#165](https://github.com/snoyberg/yaml/issues/165)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.1.0/libyaml.cabal 
new/libyaml-0.1.1.1/libyaml.cabal
--- old/libyaml-0.1.1.0/libyaml.cabal   2019-02-12 09:55:57.0 +0100
+++ new/libyaml-0.1.1.1/libyaml.cabal   2019-11-06 11:13:08.0 +0100
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.31.1.
+-- This file has been generated from package.yaml by hpack version 0.31.2.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: d20fe3a9f7ef759a6555e0219f0728d8a3d1f073384d6d705d588c1160f3743e
+-- hash: d35e8c4d317f96574fdc8b6a72f99c2244dacbb949ce1609e8dd56ddbe89a108
 
 name:   libyaml
-version:0.1.1.0
+version:0.1.1.1
 synopsis:   Low-level, streaming YAML interface.
 description:README and API documentation are available at 

 category:   Text
@@ -77,4 +77,6 @@
 yaml
   if os(windows)
 cpp-options: -DWINDOWS
+build-depends:
+directory
   default-language: Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.1.0/src/Text/Libyaml.hs 
new/libyaml-0.1.1.1/src/Text/Libyaml.hs
--- old/libyaml-0.1.1.0/src/Text/Libyaml.hs 2019-02-12 09:55:54.0 
+0100
+++ new/libyaml-0.1.1.1/src/Text/Libyaml.hs 2019-11-06 11:12:13.0 
+0100
@@ -7,6 +7,7 @@
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE CPP #-}
 {-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE ScopedTypeVariables #-}
 
 -- | Low-level, streaming YAML interface. For a higher-level interface, see
 -- "Data.Yaml".
@@ -69,6 +70,11 @@
 import qualified Data.ByteString.Internal as B
 import qualified Data.ByteString.Unsafe as BU
 
+#if WINDOWS && __GLASGOW_HASKELL__ >= 806
+import System.Directory (removeFile)
+import qualified Control.Exception
+#endif
+
 data Event =
   

commit ghc-libyaml for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package ghc-libyaml for openSUSE:Factory 
checked in at 2019-02-24 17:18:43

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


Package is "ghc-libyaml"

Sun Feb 24 17:18:43 2019 rev:2 rq:678029 version:0.1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-libyaml/ghc-libyaml.changes  2018-10-25 
08:17:44.212034143 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-libyaml.new.28833/ghc-libyaml.changes   
2019-02-24 17:18:45.500414663 +0100
@@ -1,0 +2,8 @@
+Wed Feb 13 03:01:57 UTC 2019 - psim...@suse.com
+
+- Update libyaml to version 0.1.1.0.
+  ## 0.1.1.0
+
+  * Add options to `FormatOptions` to govern when tags rendered explicitly and 
when they are left implicit. [#165](https://github.com/snoyberg/yaml/issues/165)
+
+---

Old:

  libyaml-0.1.0.0.tar.gz

New:

  libyaml-0.1.1.0.tar.gz



Other differences:
--
++ ghc-libyaml.spec ++
--- /var/tmp/diff_new_pack.YbnRtk/_old  2019-02-24 17:18:47.000414396 +0100
+++ /var/tmp/diff_new_pack.YbnRtk/_new  2019-02-24 17:18:47.004414395 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-libyaml
 #
-# 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
@@ -18,7 +18,7 @@
 
 %global pkg_name libyaml
 Name:   ghc-%{pkg_name}
-Version:0.1.0.0
+Version:0.1.1.0
 Release:0
 Summary:Low-level, streaming YAML interface
 License:BSD-3-Clause

++ libyaml-0.1.0.0.tar.gz -> libyaml-0.1.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.0.0/ChangeLog.md 
new/libyaml-0.1.1.0/ChangeLog.md
--- old/libyaml-0.1.0.0/ChangeLog.md2018-10-12 08:00:28.0 +0200
+++ new/libyaml-0.1.1.0/ChangeLog.md2019-02-12 09:55:32.0 +0100
@@ -1,5 +1,9 @@
 # Changelog for libyaml
 
+## 0.1.1.0
+
+* Add options to `FormatOptions` to govern when tags rendered explicitly and 
when they are left implicit. [#165](https://github.com/snoyberg/yaml/issues/165)
+
 ## 0.1.0.0
 
 * Split `libyaml` into a separate package from `yaml`. This split occurred at
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.0.0/libyaml.cabal 
new/libyaml-0.1.1.0/libyaml.cabal
--- old/libyaml-0.1.0.0/libyaml.cabal   2018-10-12 08:00:36.0 +0200
+++ new/libyaml-0.1.1.0/libyaml.cabal   2019-02-12 09:55:57.0 +0100
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.30.0.
+-- This file has been generated from package.yaml by hpack version 0.31.1.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: c0c9e64cc05c465e85aae41e88455f4a22e41825e6263f9745c9b5d6f786aeb5
+-- hash: d20fe3a9f7ef759a6555e0219f0728d8a3d1f073384d6d705d588c1160f3743e
 
 name:   libyaml
-version:0.1.0.0
+version:0.1.1.0
 synopsis:   Low-level, streaming YAML interface.
 description:README and API documentation are available at 

 category:   Text
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyaml-0.1.0.0/src/Text/Libyaml.hs 
new/libyaml-0.1.1.0/src/Text/Libyaml.hs
--- old/libyaml-0.1.0.0/src/Text/Libyaml.hs 2018-10-12 08:00:28.0 
+0200
+++ new/libyaml-0.1.1.0/src/Text/Libyaml.hs 2019-02-12 09:55:54.0 
+0100
@@ -32,6 +32,11 @@
 , FormatOptions
 , defaultFormatOptions
 , setWidth
+, setTagRendering
+, renderScalarTags
+, renderAllTags
+, renderNoTags
+, renderUriTags
   -- * Error handling
 , YamlException (..)
 , YamlMark (..)
@@ -121,6 +126,11 @@
  | NoTag
 deriving (Show, Eq, Read, Data, Typeable)
 
+tagSuppressed :: Tag -> Bool
+tagSuppressed (NoTag) = True
+tagSuppressed (UriTag "") = True
+tagSuppressed _ = False
+
 type AnchorName = String
 type Anchor = Maybe AnchorName
 
@@ -446,8 +456,8 @@
 -> Ptr CUChar
 -> IO CInt
 
-toEventRaw :: Event -> (EventRaw -> IO a) -> IO a
-toEventRaw e f = allocaBytes eventSize $ \er -> do
+toEventRaw :: FormatOptions -> Event -> (EventRaw -> IO a) -> IO a
+toEventRaw opts e f = allocaBytes eventSize $ \er -> do
 ret <- case e of
 EventStreamStart ->
 c_yaml_stream_start_event_initialize
@@ -465,13 +475,13 @@
 len' = fromIntegral len :: CInt