osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-cborg-json revision:9, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cborg-json?expand=0&rev=11
This commit is contained in:
Ondřej Súkup 2021-05-10 10:34:02 +00:00 committed by Git OBS Bridge
parent c4d9fe064c
commit 2d4eaac9ea
3 changed files with 72 additions and 66 deletions

View File

@ -1,6 +1,6 @@
name: cborg-json name: cborg-json
version: 0.2.2.0 version: 0.2.2.0
x-revision: 2 x-revision: 3
synopsis: A library for encoding JSON as CBOR synopsis: A library for encoding JSON as CBOR
description: This package implements the bijection between JSON and description: This package implements the bijection between JSON and
CBOR defined in the CBOR specification, RFC 7049. CBOR defined in the CBOR specification, RFC 7049.
@ -18,13 +18,13 @@ build-type: Simple
extra-source-files: ChangeLog.md extra-source-files: ChangeLog.md
cabal-version: >=1.10 cabal-version: >=1.10
tested-with: tested-with:
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 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, GHC == 9.0.1
library library
exposed-modules: Codec.CBOR.JSON exposed-modules: Codec.CBOR.JSON
ghc-options: -Wall ghc-options: -Wall
build-depends: build-depends:
base >=4.7 && < 4.15, base >=4.7 && < 4.16,
aeson >=0.7 && <1.6, aeson >=0.7 && <1.6,
aeson-pretty >=0.8 && <0.9, aeson-pretty >=0.8 && <0.9,
unordered-containers >=0.2 && <0.3, unordered-containers >=0.2 && <0.3,
@ -52,11 +52,11 @@ benchmark bench
other-modules: other-modules:
build-depends: build-depends:
base >= 4.6 && < 5.0, base >= 4.6 && < 4.16,
cborg , cborg ,
cborg-json , cborg-json ,
aeson , aeson ,
bytestring >= 0.10.4 && < 0.11, bytestring >= 0.10.4 && < 0.12,
criterion >= 1.0 && < 1.6, criterion >= 1.0 && < 1.6,
deepseq >= 1.0 && < 1.5, deepseq >= 1.0 && < 1.5,
directory, directory,

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun May 9 11:09:57 UTC 2021 - psimons@suse.com
- Update cborg-json to version 0.2.2.0 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com> Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-cborg-json # spec file for package ghc-cborg-json
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@ Summary: A library for encoding JSON as CBOR
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-devel
BuildRequires: ghc-aeson-pretty-devel BuildRequires: ghc-aeson-pretty-devel