Accepting request 607958 from devel:languages:haskell

Update ghc-yaml to the latest version.

OBS-URL: https://build.opensuse.org/request/show/607958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-yaml?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2018-05-30 10:16:07 +00:00 committed by Git OBS Bridge
commit e558aee5a0
4 changed files with 26 additions and 13 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
- Update yaml to version 0.8.30.
* Removed `AppSettings` mentioned in `loadYamlSettings` error message.
* Deprecated `decodeFile` [#129](https://github.com/snoyberg/yaml/issues/129)
* Turn off executables by default [#103](https://github.com/snoyberg/yaml/issues/103)
* Add `Data.Yaml.TH.yamlQQ`
* Support conduit 1.3
* Add `Semigroup` instance [#123](https://github.com/snoyberg/yaml/pull/123)
* Use `throwM` instead of `monadThrow`
* Drop aeson-qq dep (incompatible with Stackage Nightly)
* Tweaks to the executable `yaml2json` [#119](https://github.com/snoyberg/yaml/pull/119):
- Add command-line option `-h` and `--help` to show help message
- Error messages are now written to `stderr` instead of `stdout`
* New encodePretty option `setConfDropNull` to drop null values from objects [#116](https://github.com/snoyberg/yaml/issues/116)
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-yaml
#
# 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,14 +19,13 @@
%global pkg_name yaml
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.8.23.3
Version: 0.8.30
Release: 0
Summary: Support for parsing and rendering YAML documents
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: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-attoparsec-devel
@ -46,7 +45,6 @@ BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-aeson-qq-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-mockery-devel
@ -54,7 +52,8 @@ BuildRequires: ghc-temporary-devel
%endif
%description
Support for parsing and rendering YAML documents.
README and API documentation are available at
<https://www.stackage.org/package/yaml>.
%package devel
Summary: Haskell %{pkg_name} library development files
@ -75,7 +74,6 @@ This package provides the Haskell %{pkg_name} library development files.
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
%check
%cabal_test
@ -87,11 +85,9 @@ This package provides the Haskell %{pkg_name} library development files.
%ghc_pkg_recache
%files -f %{name}.files
%doc LICENSE
%{_bindir}/json2yaml
%{_bindir}/yaml2json
%license LICENSE
%files devel -f %{name}-devel.files
%doc ChangeLog.md README.md examples
%doc ChangeLog.md README.md
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc855c7ed50cbc4c706400f98854087ce7b8eadbd98646001a15c13c11ed7543
size 81690

3
yaml-0.8.30.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d15b6e9d599137329161931478259462549dd1a38337ec7e8b17fe1c3496be85
size 82706