diff --git a/aeson-1.4.6.0.tar.gz b/aeson-1.4.6.0.tar.gz new file mode 100644 index 0000000..a79a8d6 --- /dev/null +++ b/aeson-1.4.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:923fb2c6e224c4c0d1848174b1010592f31cd149f538923efd87f8a6b4b3488b +size 276713 diff --git a/aeson-1.5.4.0.tar.gz b/aeson-1.5.4.0.tar.gz deleted file mode 100644 index 8a20954..0000000 --- a/aeson-1.5.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80d0a13f952b40e5a6f118bf9a10470426446dd54dc6348b6e6cf86e22cd0f9f -size 298416 diff --git a/ghc-aeson.changes b/ghc-aeson.changes index 2fcc24f..9430045 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,122 +1,3 @@ -------------------------------------------------------------------- -Mon Aug 31 02:02:42 UTC 2020 - psimons@suse.com - -- Update aeson to version 1.5.4.0. - ### 1.5.4.0 - - * Add instances for `ToJSONKey` and `FromJSONKey` to `Const`, thanks to Dan Fithian. - * Add support for template-haskell 2.17, thanks to Galen Huntington. - * Documentation typo fix, thanks to Jean-Baptiste Mazon. - -------------------------------------------------------------------- -Tue Aug 18 10:43:55 UTC 2020 - Peter Simons - -- Replace %setup -q with the more modern %autosetup macro. - -------------------------------------------------------------------- -Mon Aug 10 08:46:53 UTC 2020 - psimons@suse.com - -- Update aeson to version 1.5.3.0. - ### 1.5.3.0 - - * Add instances for types in `strict` and `data-fix` packages, thanks to Oleg Grenrus. - * CPP cleanup, thanks to Oleg Grenrus. - * Instances for `dlist`'s `Data.DList.DNonEmpty.DNonEmpty`, thanks to Oleg Grenrus. - -------------------------------------------------------------------- -Mon Jun 15 02:00:21 UTC 2020 - psimons@suse.com - -- Update aeson to version 1.5.2.0. - ### 1.5.2.0 - - * Add `Ord Value` instance, thanks to Oleg Grenrus. - * Export `rejectUnknownFields` from `Data.Aeson` - -------------------------------------------------------------------- -Tue Jun 9 09:10:55 UTC 2020 - psimons@suse.com - -- Update aeson to version 1.5.1.0. - ### 1.5.1.0 - - * Add instances for `these`, thanks to Oleg Grenrus. - - ## 1.5.0.0 - - * Fix bug in `rejectUnknownFields` not respecting `fieldLabelModifier`, thanks to Markus Schirp. - * `GFromJSON` members are no longer exported from `Data.Aeson(.Types)`, if you are using `gParseJSON` consider switching to `gParseJSON'`, thanks to Oleg Grenrus. - * Aeson no longer accepts unescaped control characters, thanks to Oleg Grenrus. - * Remove `CoerceText` since GHC >=7.8 has `Coercible`, thanks to Oleg Grenrus. - * Rename the `GToJSON` class to `GToJSON'` and expose it, thanks to Oleg Grenrus. - - Closed tickets: https://github.com/bos/aeson/milestone/21 - -------------------------------------------------------------------- -Wed May 6 06:54:16 UTC 2020 - psimons@suse.com - -- Update aeson to version 1.4.7.1. - #### 1.4.7.1 - - * GHC 8.10 compatibility, thanks to Ryan Scott. - - ### 1.4.7.0 - - Long overdue release (once again), so there's quite a bit of stuff - included even though it's a "minor" release. Big thanks to all the - contributors, the project would not exist without you! - - Special thanks to Oleg Grenrus and Xia Li-Yao for reviewing tons - of stuff. - - New stuff: - - * Add `rejectUnknownFields` to Options which rejects unknown fields on - deserialization. Useful to find errors during development, but - enabling this should be considered a breaking change as previously - accepted inputs may now be rejected. Thanks to rmanne. - - ``` - instance FromJSON Foo where - parseJSON = gParseJSON defaultOptions { rejectUnknownFields = True } - ``` - - * `FromJSON` instance of `Ratio a` now parses numbers in addtion to - standard `{numerator=..., denumerator=...}` encoding. Thanks to - Aleksey Khudyakov. - - * Add more information to parse errors, including a sample of the - surrounding text. Hopefully this will lead to less "Failed to read: - satisfy" confusion! Thanks to Sasha Bogicevic. We expect some - downstream test suites to break because of this, apologies in - advance. Hopefully you will like the improvement anyway :-) - - * Add `parseFail` to `Data.Aeson.Types`. `parseFail = fail` but - doesn't require users to know about `MonadFail`. Thanks to Colin - Woodbury. - - * Make Template Haskell type family detection smarter when deriving - `ToJSON1` instances, thanks to Ryan Scott. - - * Optimize string parsing for the common case of strings without - escapes, thanks to Yuras. - - Misc: - - * Clean up compiler warnings and switch from base-compat to - base-compat-batteries. Thanks to Colin Woodbury & Oleg Grenrus. - - * Clarification & fixes to documentation regarding treatment of Maybe fields, thanks to Roman Cheplyaka. - - * Add documentation for internal development workflows. Thanks to Guru - Devanla. - - * Drop support for GHC < 7.8. We've chosen to support older GHCs as - long as it doesn't prevent us from adding new features, but now it - does! Thanks to Oleg Grenrus for the patch. - - * Allow generic-deriving 1.13 in test suite. - - * Some DRY fixes thanks to Mark Fajkus. - ------------------------------------------------------------------- Wed Nov 13 03:02:25 UTC 2019 - psimons@suse.com diff --git a/ghc-aeson.spec b/ghc-aeson.spec index 7b6a0d6..01f5b27 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-aeson # -# Copyright (c) 2020 SUSE LLC +# 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 @@ -19,7 +19,7 @@ %global pkg_name aeson %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.5.4.0 +Version: 1.4.6.0 Release: 0 Summary: Fast JSON parsing and encoding License: BSD-3-Clause @@ -27,22 +27,19 @@ 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 BuildRequires: ghc-attoparsec-devel -BuildRequires: ghc-base-compat-batteries-devel +BuildRequires: ghc-base-compat-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel -BuildRequires: ghc-data-fix-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-dlist-devel BuildRequires: ghc-hashable-devel BuildRequires: ghc-primitive-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-scientific-devel -BuildRequires: ghc-strict-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-th-abstraction-devel -BuildRequires: ghc-these-devel BuildRequires: ghc-time-compat-devel BuildRequires: ghc-time-devel BuildRequires: ghc-unordered-containers-devel @@ -51,7 +48,6 @@ BuildRequires: ghc-vector-devel %if %{with tests} BuildRequires: ghc-Diff-devel BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-base-compat-devel BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-base16-bytestring-devel BuildRequires: ghc-directory-devel @@ -85,7 +81,7 @@ Requires(postun): ghc-compiler = %{ghc_version} This package provides the Haskell %{pkg_name} library development files. %prep -%autosetup -n %{pkg_name}-%{version} +%setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build @@ -106,6 +102,6 @@ This package provides the Haskell %{pkg_name} library development files. %license LICENSE %files devel -f %{name}-devel.files -%doc README.markdown changelog.md +%doc README.markdown changelog.md examples %changelog