Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-aeson-pretty for 
openSUSE:Factory checked in at 2021-12-19 17:34:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-aeson-pretty (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-aeson-pretty.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-aeson-pretty"

Sun Dec 19 17:34:19 2021 rev:17 rq:932873 version:0.8.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-aeson-pretty/ghc-aeson-pretty.changes        
2021-11-11 21:36:08.056876061 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-aeson-pretty.new.2520/ghc-aeson-pretty.changes  
    2021-12-19 17:34:27.296265718 +0100
@@ -1,0 +2,6 @@
+Mon Nov 15 06:57:20 UTC 2021 - [email protected]
+
+- Update aeson-pretty to version 0.8.9 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

New:
----
  aeson-pretty.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-aeson-pretty.spec ++++++
--- /var/tmp/diff_new_pack.wzJLLV/_old  2021-12-19 17:34:27.780266059 +0100
+++ /var/tmp/diff_new_pack.wzJLLV/_new  2021-12-19 17:34:27.784266062 +0100
@@ -24,6 +24,7 @@
 License:        BSD-3-Clause
 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-base-compat-devel
@@ -62,6 +63,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %define cabal_configure_options -flib-only

++++++ aeson-pretty.cabal ++++++
cabal-version:  2.0
name:           aeson-pretty
version:        0.8.9
x-revision: 1
license:        BSD3
license-file:   LICENSE
category:       Text, Web, JSON, Pretty Printer
copyright:      Copyright 2011 Falko Peters
author:         Falko Peters <[email protected]>
maintainer:     Martijn Bastiaan <[email protected]>
stability:      experimental
homepage:       http://github.com/informatikr/aeson-pretty
bug-reports:    http://github.com/informatikr/aeson-pretty/issues
build-type:     Simple
synopsis:       JSON pretty-printing library and command-line tool.
description:
    A JSON pretty-printing library compatible with aeson as well as
    a command-line tool to improve readabilty of streams of JSON data.
    .
    The /library/ provides the function "encodePretty". It is a drop-in
    replacement for aeson's "encode" function, producing JSON-ByteStrings for
    human readers.
    .
    The /command-line tool/ reads JSON from stdin and writes prettified JSON
    to stdout. It also offers a complementary "compact"-mode, essentially the
    opposite of pretty-printing. If you specify @-flib-only@ like this
    .
        > cabal install -flib-only aeson-pretty
    .
    the command-line tool will NOT be installed.

extra-source-files:
    README.markdown
    CHANGELOG.markdown

flag lib-only
    description: Only build/install the library, NOT the command-line tool.
    default: False

library
    exposed-modules:
        Data.Aeson.Encode.Pretty

    build-depends:
        aeson ^>= 1.0 || ^>=1.1 || ^>=1.2 || ^>=1.3 || ^>=1.4 || ^>=1.5 || 
^>=2.0,
        base >= 4.5,
        base-compat >= 0.9,
        bytestring >= 0.9,
        scientific >= 0.3,
        vector >= 0.9,
        text >= 0.11,
        unordered-containers >= 0.2.14.0

    if !impl(ghc >= 8.0)
      build-depends:
        semigroups >= 0.18.2

    ghc-options: -Wall
    default-language: Haskell2010

executable aeson-pretty
    hs-source-dirs: cli-tool
    main-is: Main.hs
    other-modules: Paths_aeson_pretty
    autogen-modules: Paths_aeson_pretty

    if flag(lib-only)
        buildable: False
    else
        build-depends:
            aeson >= 0.6,
            aeson-pretty,
            attoparsec >= 0.10,
            base == 4.*,
            bytestring >= 0.9,
            cmdargs >= 0.7

    ghc-options: -Wall
    default-language: Haskell2010

source-repository head
    type:     git
    location: http://github.com/informatikr/aeson-pretty

Reply via email to