diff --git a/ghc-lens-aeson.changes b/ghc-lens-aeson.changes index ecd543c..91f2dfd 100644 --- a/ghc-lens-aeson.changes +++ b/ghc-lens-aeson.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- -Tue Nov 16 19:52:29 UTC 2021 - psimons@suse.com +Thu Feb 10 14:24:54 UTC 2022 - psimons@suse.com -- Update lens-aeson to version 1.1.3. +- Update lens-aeson to version 1.1.3 revision 1. 1.1.3 [2021.11.16] ------------------ * Drop support for pre-8.0 versions of GHC. diff --git a/ghc-lens-aeson.spec b/ghc-lens-aeson.spec index f7c2776..5e8d32d 100644 --- a/ghc-lens-aeson.spec +++ b/ghc-lens-aeson.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-lens-aeson # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ 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/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel @@ -51,6 +52,7 @@ 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 diff --git a/lens-aeson.cabal b/lens-aeson.cabal new file mode 100644 index 0000000..0ef2686 --- /dev/null +++ b/lens-aeson.cabal @@ -0,0 +1,59 @@ +name: lens-aeson +category: Numeric +version: 1.1.3 +x-revision: 1 +license: MIT +cabal-version: >= 1.10 +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: Simple +tested-with: GHC == 8.0.2 + , GHC == 8.2.2 + , GHC == 8.4.4 + , GHC == 8.6.5 + , GHC == 8.8.4 + , GHC == 8.10.7 + , GHC == 9.0.1 + , GHC == 9.2.1 +synopsis: Law-abiding lenses for aeson +description: Law-abiding lenses for aeson. + +extra-source-files: + .gitignore + .hlint.yaml + .vim.custom + AUTHORS.markdown + README.markdown + CHANGELOG.markdown + +source-repository head + type: git + location: https://github.com/lens/lens-aeson + +library + build-depends: + base >= 4.9 && < 5, + lens >= 4.4 && < 6, + text >= 0.11.1.10 && < 2.1, + vector >= 0.9 && < 0.13, + unordered-containers >= 0.2.3 && < 0.3, + attoparsec >= 0.10 && < 0.15, + bytestring >= 0.9 && < 0.12, + -- TODO: Eventually, we should bump the lower version bounds to >=2 so that + -- we can remove some CPP in Data.Aeson.Lens. See #38. + aeson >= 0.7.0.5 && < 2.1, + scientific >= 0.3.2 && < 0.4 + + exposed-modules: + Data.Aeson.Lens + + ghc-options: -Wall -Wtabs -O2 + hs-source-dirs: src + default-language: Haskell2010