Hello community, here is the log from the commit of package ghc-yaml for openSUSE:Factory checked in at 2016-09-05 21:19:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-yaml (Old) and /work/SRC/openSUSE:Factory/.ghc-yaml.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-yaml" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-yaml/ghc-yaml.changes 2016-07-21 08:01:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-yaml.new/ghc-yaml.changes 2016-09-05 21:19:27.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jul 22 06:03:43 UTC 2016 - [email protected] + +- Update to version 0.8.18.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- Old: ---- yaml-0.8.18.tar.gz New: ---- yaml-0.8.18.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-yaml.spec ++++++ --- /var/tmp/diff_new_pack.1gy2Bn/_old 2016-09-05 21:19:28.000000000 +0200 +++ /var/tmp/diff_new_pack.1gy2Bn/_new 2016-09-05 21:19:28.000000000 +0200 @@ -19,14 +19,13 @@ %global pkg_name yaml %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.18 +Version: 0.8.18.1 Release: 0 Summary: Support for parsing and rendering YAML documents 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 -# Begin cabal-rpm deps: BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel @@ -53,7 +52,6 @@ BuildRequires: ghc-hspec-devel BuildRequires: ghc-mockery-devel %endif -# End cabal-rpm deps %description Please see the README.md file. @@ -79,14 +77,11 @@ %install %ghc_lib_install - %ghc_fix_dynamic_rpath json2yaml yaml2json %check -%if %{with tests} -%{cabal} test -%endif +%cabal_test %post devel ++++++ yaml-0.8.18.tar.gz -> yaml-0.8.18.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.18/ChangeLog.md new/yaml-0.8.18.1/ChangeLog.md --- old/yaml-0.8.18/ChangeLog.md 2016-06-21 18:52:49.000000000 +0200 +++ new/yaml-0.8.18.1/ChangeLog.md 2016-07-19 17:43:07.000000000 +0200 @@ -1,3 +1,7 @@ +## 0.8.18.1 + +* Improve prettyPrintParseException when context is empty [#89](https://github.com/snoyberg/yaml/pull/89) + ## 0.8.18 * Switched yaml decode function for config file readers in `Data.Yaml.Config` to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.18/Data/Yaml/Internal.hs new/yaml-0.8.18.1/Data/Yaml/Internal.hs --- old/yaml-0.8.18/Data/Yaml/Internal.hs 2016-06-21 18:52:49.000000000 +0200 +++ new/yaml-0.8.18.1/Data/Yaml/Internal.hs 2016-07-19 17:43:07.000000000 +0200 @@ -88,11 +88,13 @@ Nothing -> "Unspecified YAML error" Just yamlError -> case yamlError of YamlException s -> "YAML exception:\n" ++ s - YamlParseException problem context mark -> unlines + YamlParseException problem context mark -> concat [ "YAML parse exception at line " ++ show (yamlLine mark) ++ - ", column " ++ show (yamlColumn mark) ++ "," - -- The context seems to include a leading "while" or similar. - , context ++ ":" + ", column " ++ show (yamlColumn mark) + , case context of + "" -> ":\n" + -- The context seems to include a leading "while" or similar. + _ -> ",\n" ++ context ++ ":\n" , problem ] AesonException s -> "Aeson exception:\n" ++ s diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.18/yaml.cabal new/yaml-0.8.18.1/yaml.cabal --- old/yaml-0.8.18/yaml.cabal 2016-06-21 18:52:49.000000000 +0200 +++ new/yaml-0.8.18.1/yaml.cabal 2016-07-19 17:43:07.000000000 +0200 @@ -1,5 +1,5 @@ name: yaml -version: 0.8.18 +version: 0.8.18.1 license: BSD3 license-file: LICENSE author: Michael Snoyman <[email protected]>, Anton Ageev <[email protected]>,Kirill Simonov
