diff --git a/ghc-lens-aeson.changes b/ghc-lens-aeson.changes index 3331d42..1ba96fc 100644 --- a/ghc-lens-aeson.changes +++ b/ghc-lens-aeson.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Feb 19 23:03:03 UTC 2021 - psimons@suse.com + +- Update lens-aeson to version 1.1.1. + 1.1.1 [2021.02.17] + ------------------ + * Allow building with `lens-5.*`. + * The build-type has been changed from `Custom` to `Simple`. + To achieve this, the `doctests` test suite has been removed in favor of using + [`cabal-docspec`](https://github.com/phadej/cabal-extras/tree/master/cabal-docspec) + to run the doctests. + ------------------------------------------------------------------- Mon Feb 8 19:13:41 UTC 2021 - psimons@suse.com diff --git a/ghc-lens-aeson.spec b/ghc-lens-aeson.spec index ff24e26..6dc9fcd 100644 --- a/ghc-lens-aeson.spec +++ b/ghc-lens-aeson.spec @@ -17,20 +17,17 @@ %global pkg_name lens-aeson -%bcond_with tests Name: ghc-%{pkg_name} -Version: 1.1 +Version: 1.1.1 Release: 0 Summary: Law-abiding lenses for aeson License: MIT 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/4.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-cabal-doctest-devel BuildRequires: ghc-lens-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-scientific-devel @@ -38,12 +35,6 @@ BuildRequires: ghc-text-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel ExcludeArch: %{ix86} -%if %{with tests} -BuildRequires: ghc-doctest-devel -BuildRequires: ghc-generic-deriving-devel -BuildRequires: ghc-semigroups-devel -BuildRequires: ghc-simple-reflect-devel -%endif %description Law-abiding lenses for aeson. @@ -60,7 +51,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build @@ -68,9 +58,6 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %install %ghc_lib_install -%check -%cabal_test - %post devel %ghc_pkg_recache diff --git a/lens-aeson-1.1.1.tar.gz b/lens-aeson-1.1.1.tar.gz new file mode 100644 index 0000000..5eb357e --- /dev/null +++ b/lens-aeson-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fd7e1a83e97c91289cc26401159edb5f3443dce04575afc86c3af222e6267bc +size 7050 diff --git a/lens-aeson-1.1.tar.gz b/lens-aeson-1.1.tar.gz deleted file mode 100644 index a17ac9f..0000000 --- a/lens-aeson-1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7bc9c6f95735b523afac6316195d06b31f9b85c84918960096e4eecdb6cc90e -size 11022 diff --git a/lens-aeson.cabal b/lens-aeson.cabal deleted file mode 100644 index 3ea040a..0000000 --- a/lens-aeson.cabal +++ /dev/null @@ -1,89 +0,0 @@ -name: lens-aeson -category: Numeric -version: 1.1 -x-revision: 4 -license: MIT -cabal-version: >= 1.8 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: provisional -homepage: http://github.com/lens/lens-aeson/ -bug-reports: http://github.com/lens/lens-aeson/issues -copyright: - Copyright (C) 2012 Paul Wilson - Copyright (C) 2013 Edward A. Kmett -build-type: Custom -tested-with: GHC == 7.4.2 - , GHC == 7.6.3 - , GHC == 7.8.4 - , GHC == 7.10.3 - , GHC == 8.0.2 - , GHC == 8.2.2 - , GHC == 8.4.4 - , GHC == 8.6.5 - , GHC == 8.8.1 -synopsis: Law-abiding lenses for aeson -description: Law-abiding lenses for aeson. - -extra-source-files: - .travis.yml - .ghci - .gitignore - .vim.custom - travis/cabal-apt-install - travis/config - AUTHORS.markdown - README.markdown - CHANGELOG.markdown - Warning.hs - -source-repository head - type: git - location: https://github.com/lens/lens-aeson - -custom-setup - setup-depends: - base >= 4 && < 5, - Cabal, - cabal-doctest >= 1 && < 1.1 - --- You can disable the doctests test suite with -f-test-doctests -flag test-doctests - default: True - manual: True - -library - build-depends: - base >= 4.5 && < 5, - lens >= 4.4 && < 5, - text >= 0.11.1.10 && < 1.3, - vector >= 0.9 && < 0.13, - unordered-containers >= 0.2.3 && < 0.3, - attoparsec >= 0.10 && < 0.14, - bytestring >= 0.9 && < 0.12, - aeson >= 0.7.0.5 && < 1.6, - scientific >= 0.3.2 && < 0.4 - - exposed-modules: - Data.Aeson.Lens - - ghc-options: -Wall -fwarn-tabs -O2 - hs-source-dirs: src - -test-suite doctests - type: exitcode-stdio-1.0 - main-is: doctests.hs - ghc-options: -Wall -threaded - hs-source-dirs: tests - - if !flag(test-doctests) - buildable: False - else - build-depends: - base, - doctest >= 0.11.1 && < 0.19, - generic-deriving, - lens-aeson, - semigroups >= 0.9, - simple-reflect >= 0.3.1