From fb33e9437279b8ed77e624bb055b446f467064458d69ad495e45f1a5873136fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 26 Mar 2021 12:22:24 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-lens-aeson revision:11, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lens-aeson?expand=0&rev=10 --- ghc-lens-aeson.changes | 6 +++++ ghc-lens-aeson.spec | 2 ++ lens-aeson.cabal | 59 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 lens-aeson.cabal diff --git a/ghc-lens-aeson.changes b/ghc-lens-aeson.changes index 1ba96fc..4931d07 100644 --- a/ghc-lens-aeson.changes +++ b/ghc-lens-aeson.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 23 12:19:07 UTC 2021 - psimons@suse.com + +- Update lens-aeson to version 1.1.1 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Fri Feb 19 23:03:03 UTC 2021 - psimons@suse.com diff --git a/ghc-lens-aeson.spec b/ghc-lens-aeson.spec index 6dc9fcd..8716dba 100644 --- a/ghc-lens-aeson.spec +++ b/ghc-lens-aeson.spec @@ -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..28acb37 --- /dev/null +++ b/lens-aeson.cabal @@ -0,0 +1,59 @@ +name: lens-aeson +category: Numeric +version: 1.1.1 +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 == 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.3 + , GHC == 8.10.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.5 && < 5, + lens >= 4.4 && < 6, + text >= 0.11.1.10 && < 1.3, + vector >= 0.9 && < 0.13, + unordered-containers >= 0.2.3 && < 0.3, + attoparsec >= 0.10 && < 0.15, + 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 + default-language: Haskell2010