Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-yaml for openSUSE:Factory checked in at 2023-07-12 17:27:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-yaml (Old) and /work/SRC/openSUSE:Factory/.ghc-yaml.new.8922 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-yaml" Wed Jul 12 17:27:39 2023 rev:43 rq:1098253 version:0.11.11.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-yaml/ghc-yaml.changes 2023-06-22 23:26:14.893898844 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-yaml.new.8922/ghc-yaml.changes 2023-07-12 17:28:07.386823356 +0200 @@ -1,0 +2,14 @@ +Tue Jul 4 04:42:08 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update yaml to version 0.11.11.2 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Sat Jul 1 18:43:54 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update yaml to version 0.11.11.2. + ## 0.11.11.2 + + * Compat with aeson 2.2 + +------------------------------------------------------------------- Old: ---- yaml-0.11.11.1.tar.gz New: ---- yaml-0.11.11.2.tar.gz yaml.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-yaml.spec ++++++ --- /var/tmp/diff_new_pack.OKUD6x/_old 2023-07-12 17:28:09.026834708 +0200 +++ /var/tmp/diff_new_pack.OKUD6x/_new 2023-07-12 17:28:09.030834736 +0200 @@ -20,12 +20,13 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.11.11.1 +Version: 0.11.11.2 Release: 0 Summary: Support for parsing and rendering YAML documents License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-prof @@ -110,6 +111,7 @@ %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ yaml-0.11.11.1.tar.gz -> yaml-0.11.11.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.11.11.1/ChangeLog.md new/yaml-0.11.11.2/ChangeLog.md --- old/yaml-0.11.11.1/ChangeLog.md 2023-06-14 14:46:13.000000000 +0200 +++ new/yaml-0.11.11.2/ChangeLog.md 2023-07-01 20:43:00.000000000 +0200 @@ -1,5 +1,9 @@ # ChangeLog for yaml +## 0.11.11.2 + +* Compat with aeson 2.2 + ## 0.11.11.1 * For optparse-applicative-0.18: use `pretty` instead of `text` [#216](https://github.com/snoyberg/yaml/pull/216) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.11.11.1/src/Data/Yaml/Internal.hs new/yaml-0.11.11.2/src/Data/Yaml/Internal.hs --- old/yaml-0.11.11.1/src/Data/Yaml/Internal.hs 2023-02-24 03:55:42.000000000 +0100 +++ new/yaml-0.11.11.2/src/Data/Yaml/Internal.hs 2023-07-01 20:42:39.000000000 +0200 @@ -46,8 +46,12 @@ #else import qualified Data.HashMap.Strict as M #endif -import Data.Aeson.Internal (JSONPath, JSONPathElement(..), formatError) +#if MIN_VERSION_aeson(2,2,0) +import Data.Aeson.Types hiding (AesonException, parse) +#else import Data.Aeson.Types hiding (parse) +import Data.Aeson.Internal (JSONPath, JSONPathElement(..), formatError) +#endif import qualified Data.Attoparsec.Text as Atto import Data.Bits (shiftL, (.|.)) import Data.ByteString (ByteString) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.11.11.1/test/Data/Yaml/IncludeSpec.hs new/yaml-0.11.11.2/test/Data/Yaml/IncludeSpec.hs --- old/yaml-0.11.11.1/test/Data/Yaml/IncludeSpec.hs 2023-02-06 18:07:46.000000000 +0100 +++ new/yaml-0.11.11.2/test/Data/Yaml/IncludeSpec.hs 2023-07-01 20:42:39.000000000 +0200 @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE OverloadedStrings #-} module Data.Yaml.IncludeSpec (main, spec) where @@ -6,7 +7,11 @@ import Data.List (isPrefixOf) import qualified Data.ByteString.Lazy as LB import Data.Aeson +#if MIN_VERSION_aeson(2,2,0) +import Data.Aeson.Types (JSONPathElement(..)) +#else import Data.Aeson.Internal (JSONPathElement(..)) +#endif import Data.Yaml (ParseException(InvalidYaml)) import Data.Yaml.Include import Data.Yaml.Internal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.11.11.1/yaml.cabal new/yaml-0.11.11.2/yaml.cabal --- old/yaml-0.11.11.1/yaml.cabal 2023-06-14 14:46:19.000000000 +0200 +++ new/yaml-0.11.11.2/yaml.cabal 2023-07-01 20:43:14.000000000 +0200 @@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: yaml -version: 0.11.11.1 +version: 0.11.11.2 synopsis: Support for parsing and rendering YAML documents. description: README and API documentation are available at <https://www.stackage.org/package/yaml> category: Data ++++++ yaml.cabal ++++++ cabal-version: 1.12 -- This file has been generated from package.yaml by hpack version 0.35.1. -- -- see: https://github.com/sol/hpack name: yaml version: 0.11.11.2 x-revision: 2 synopsis: Support for parsing and rendering YAML documents. description: README and API documentation are available at <https://www.stackage.org/package/yaml> category: Data stability: stable homepage: https://github.com/snoyberg/yaml#readme bug-reports: https://github.com/snoyberg/yaml/issues author: Michael Snoyman <mich...@snoyman.com>, Anton Ageev <ant...@gmail.com>,Kirill Simonov maintainer: Michael Snoyman <mich...@snoyman.com> license: BSD3 license-file: LICENSE build-type: Simple extra-source-files: test/largest-string.yaml test/json.yaml test/resources/foo.yaml test/resources/bar.yaml test/resources/baz.yaml test/resources/accent/foo.yaml test/resources/loop/foo.yaml test/resources/loop/bar.yaml test/resources/empty.yaml test/resources/empty2.yaml README.md ChangeLog.md source-repository head type: git location: https://github.com/snoyberg/yaml flag no-examples description: don't build the examples manual: False default: True flag no-exe description: don't install the yaml2json or json2yaml executables manual: False default: True library exposed-modules: Data.Yaml Data.Yaml.Aeson Data.Yaml.Builder Data.Yaml.Config Data.Yaml.Include Data.Yaml.Internal Data.Yaml.Parser Data.Yaml.Pretty Data.Yaml.TH other-modules: Paths_yaml hs-source-dirs: src other-extensions: LambdaCase ghc-options: -Wall -Wcompat build-depends: aeson >=0.11 , attoparsec >=0.11.3.0 , base >=4.9.1 && <5 , bytestring >=0.9.1.4 , conduit >=1.2.8 && <1.4 , containers , directory , filepath , libyaml ==0.1.* , mtl , resourcet >=0.3 && <1.4 , scientific >=0.3 , template-haskell , text , transformers >=0.1 , unordered-containers , vector default-language: Haskell2010 executable examples main-is: Main.hs other-modules: Config Simple Paths_yaml hs-source-dirs: examples ghc-options: -Wall -Wcompat build-depends: aeson >=0.11 , attoparsec >=0.11.3.0 , base >=4.9.1 && <5 , bytestring >=0.9.1.4 , conduit >=1.2.8 && <1.4 , containers , directory , filepath , libyaml ==0.1.* , mtl , resourcet >=0.3 && <1.4 , scientific >=0.3 , template-haskell , text , transformers >=0.1 , unordered-containers , vector default-language: Haskell2010 if flag(no-examples) buildable: False else build-depends: raw-strings-qq , yaml executable json2yaml main-is: json2yaml.hs other-modules: Common Paths_yaml hs-source-dirs: exe ghc-options: -Wall -Wcompat build-depends: aeson >=0.11 , attoparsec >=0.11.3.0 , base >=4.9.1 && <5 , bytestring >=0.9.1.4 , conduit >=1.2.8 && <1.4 , containers , directory , filepath , libyaml ==0.1.* , mtl , optparse-applicative , resourcet >=0.3 && <1.4 , scientific >=0.3 , template-haskell , text , transformers >=0.1 , unordered-containers , vector , yaml default-language: Haskell2010 if flag(no-exe) buildable: False executable yaml2json main-is: yaml2json.hs other-modules: Common Paths_yaml hs-source-dirs: exe other-extensions: CPP LambdaCase NamedFieldPuns ghc-options: -Wall -Wcompat build-depends: aeson >=0.11 , attoparsec >=0.11.3.0 , base >=4.9.1 && <5 , bytestring >=0.9.1.4 , conduit >=1.2.8 && <1.4 , containers , directory , filepath , libyaml ==0.1.* , mtl , optparse-applicative , resourcet >=0.3 && <1.4 , scientific >=0.3 , template-haskell , text , transformers >=0.1 , unordered-containers , vector , yaml default-language: Haskell2010 if flag(no-exe) buildable: False test-suite spec type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: Data.Yaml.IncludeSpec Data.Yaml.THSpec Data.YamlSpec Paths_yaml hs-source-dirs: test ghc-options: -Wall -Wcompat -with-rtsopts=-K1K cpp-options: -DTEST build-depends: HUnit , aeson >=0.11 , attoparsec >=0.11.3.0 , base >=4.9.1 && <5 , base-compat , bytestring >=0.9.1.4 , conduit >=1.2.8 && <1.4 , containers , directory , filepath , hspec >=1.3 , libyaml ==0.1.* , mockery , mtl , raw-strings-qq , resourcet >=0.3 && <1.4 , scientific >=0.3 , template-haskell , temporary , text , transformers >=0.1 , unordered-containers , vector , yaml default-language: Haskell2010