Hello community,

here is the log from the commit of package ghc-hledger-iadd for 
openSUSE:Factory checked in at 2017-05-27 13:15:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hledger-iadd (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hledger-iadd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hledger-iadd"

Sat May 27 13:15:16 2017 rev:2 rq:495466 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hledger-iadd/ghc-hledger-iadd.changes        
2017-05-06 18:26:46.091637875 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-hledger-iadd.new/ghc-hledger-iadd.changes   
2017-05-27 13:15:20.789109993 +0200
@@ -1,0 +2,10 @@
+Mon May  8 17:29:55 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.1 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------
+Tue Apr  4 11:02:16 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.1 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  hledger-iadd-1.2.tar.gz

New:
----
  hledger-iadd-1.2.1.tar.gz
  hledger-iadd.cabal

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

Other differences:
------------------
++++++ ghc-hledger-iadd.spec ++++++
--- /var/tmp/diff_new_pack.AjfPk7/_old  2017-05-27 13:15:22.720836890 +0200
+++ /var/tmp/diff_new_pack.AjfPk7/_new  2017-05-27 13:15:22.724836324 +0200
@@ -19,13 +19,14 @@
 %global pkg_name hledger-iadd
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.2
+Version:        1.2.1
 Release:        0
 Summary:        A terminal UI as drop-in replacement for hledger add
 License:        BSD-3-Clause
 Group:          Development/Languages/Other
 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:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-brick-devel
@@ -81,6 +82,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ hledger-iadd-1.2.tar.gz -> hledger-iadd-1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hledger-iadd-1.2/ChangeLog.md 
new/hledger-iadd-1.2.1/ChangeLog.md
--- old/hledger-iadd-1.2/ChangeLog.md   2017-02-05 18:01:06.000000000 +0100
+++ new/hledger-iadd-1.2.1/ChangeLog.md 2017-03-31 11:39:34.000000000 +0200
@@ -1,3 +1,8 @@
+# 1.2.1
+
+  - Support for hledger-lib-1.2
+  - Minor documnentation fixes
+
 # 1.2
 
   - Add support for comments (bound to `;`)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hledger-iadd-1.2/README.md 
new/hledger-iadd-1.2.1/README.md
--- old/hledger-iadd-1.2/README.md      2017-02-03 18:54:19.000000000 +0100
+++ new/hledger-iadd-1.2.1/README.md    2017-03-31 11:09:19.000000000 +0200
@@ -102,7 +102,8 @@
   - `--date-format`: Format for parsing dates. (Default:
     `[[%y/]%m/]%d`, the usual ledger date format). Brackets can be
     used to specify optional parts. E.g the german date format would
-    be `%d[.[%m[.[%y]]]]`
+    be `%d[.[%m[.[%y]]]]`. (Dates are written as `y/m/d` to the
+    journal regardless of this option).
   - `--completion-engine`: Algorithm for account name completion. Can
     be `substrings` or `fuzzy`.
   - `--dump-default-config`: Print the example config file to stdout
@@ -192,6 +193,14 @@
        - `fuzzy`: All letters from the search string have to appear in
       the name in the same order
 
+## License
+
+The code of `hledger-iadd` is released under the [BSD3] license, but
+since `hledger-lib` -- the library that `hledger-iadd` uses -- is
+licensed under the [GPLv3], the terms of the GPL apply to the compiled
+and linked binary.
 
 [stack]: https://github.com/commercialhaskell/stack
 [haskell platform]: https://www.haskell.org/platform/
+[BSD3]: https://opensource.org/licenses/BSD-3-Clause
+[GPLv3]: https://www.gnu.org/licenses/gpl-3.0.en.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hledger-iadd-1.2/hledger-iadd.cabal 
new/hledger-iadd-1.2.1/hledger-iadd.cabal
--- old/hledger-iadd-1.2/hledger-iadd.cabal     2017-02-05 18:01:15.000000000 
+0100
+++ new/hledger-iadd-1.2.1/hledger-iadd.cabal   2017-03-31 11:39:43.000000000 
+0200
@@ -1,5 +1,5 @@
 name:                hledger-iadd
-version:             1.2
+version:             1.2.1
 synopsis:            A terminal UI as drop-in replacement for hledger add
 description:         This is a terminal UI as drop-in replacement for hledger 
add.
                      .
@@ -56,7 +56,7 @@
                      , Brick.Widgets.Edit.EmacsBindings
   default-language:    Haskell2010
   build-depends:       base >= 4.8 && < 5
-                     , hledger-lib >= 1.0 && < 1.2
+                     , hledger-lib >= 1.0 && < 1.3
                      , brick >= 0.15.2 && < 0.18
                      , vty >= 5.4
                      , text
@@ -81,7 +81,7 @@
   default-language:    Haskell2010
   build-depends:       base >= 4.8 && < 5
                      , hledger-iadd
-                     , hledger-lib >= 1.0 && < 1.2
+                     , hledger-lib >= 1.0 && < 1.3
                      , brick >= 0.15.2 && < 0.18
                      , vty >= 5.4
                      , text
@@ -110,7 +110,7 @@
   default-language:   Haskell2010
   build-depends:      base >= 4.8 && < 5
                     , hledger-iadd
-                    , hledger-lib >= 1.0 && < 1.2
+                    , hledger-lib >= 1.0 && < 1.3
                     , text
                     , transformers >= 0.3
                     , time >= 1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hledger-iadd-1.2/tests/ModelSpec.hs 
new/hledger-iadd-1.2.1/tests/ModelSpec.hs
--- old/hledger-iadd-1.2/tests/ModelSpec.hs     2017-02-03 18:51:39.000000000 
+0100
+++ new/hledger-iadd-1.2.1/tests/ModelSpec.hs   2017-03-31 11:09:45.000000000 
+0200
@@ -164,16 +164,8 @@
 
   where
     mkPosting :: (Text, Int) -> HL.Posting
-    mkPosting (account, amount) = HL.Posting
-      { HL.pdate = Nothing
-      , HL.pdate2 = Nothing
-      , HL.pstatus = HL.Uncleared
-      , HL.paccount = account
+    mkPosting (account, amount) = HL.nullposting
+      { HL.paccount = account
       , HL.pamount = HL.mixed [HL.eur (fromIntegral amount)]
-      , HL.pcomment = ""
-      , HL.ptype = HL.RegularPosting
-      , HL.ptags = []
-      , HL.pbalanceassertion = Nothing
-      , HL.ptransaction = Nothing
       }
 

++++++ hledger-iadd.cabal ++++++
name:                hledger-iadd
version:             1.2.1
x-revision: 1
synopsis:            A terminal UI as drop-in replacement for hledger add
description:         This is a terminal UI as drop-in replacement for hledger 
add.
                     .
                     It improves in the following ways on hledger's add command:
                     .
                       * Interactive as-you-type completion for
                         account names and descriptions with optional
                         fuzzy matching.
                     .
                       * Integrated calculator: Amounts can be written
                         as simple sums with real-time feedback on the
                         result.
                     .
                       * All actions while entering a transaction can
                         be undone
                     .
                       * Configurable format for date input. Instead
                         of @y\/m\/d@ it is also possible to use other
                         formats like the german @d.m.y@.

homepage:            https://github.com/hpdeifel/hledger-iadd#readme
bug-reports:         https://github.com/hpdeifel/hledger-iadd/issues
license:             BSD3
license-file:        LICENSE
author:              Hans-Peter Deifel <h...@hpdeifel.de>
maintainer:          Hans-Peter Deifel <h...@hpdeifel.de>
copyright:           2016 Hans-Peter Deifel
category:            Finance, Console
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC==7.10.3, GHC==8.0
                     
extra-source-files:
  doc/screencast.gif
  README.md
  ChangeLog.md

source-repository head
  type: git
  location: https://github.com/hpdeifel/hledger-iadd.git
  
library
  hs-source-dirs:      src
  exposed-modules:     Model
                     , View
                     , AmountParser
                     , DateParser
                     , ConfigParser
                     , Brick.Widgets.List.Utils
                     , Brick.Widgets.HelpMessage
                     , Brick.Widgets.CommentDialog
                     , Brick.Widgets.BetterDialog
                     , Brick.Widgets.WrappedText
                     , Brick.Widgets.Edit.EmacsBindings
  default-language:    Haskell2010
  build-depends:       base >= 4.8 && < 5
                     , hledger-lib >= 1.0 && < 1.3
                     , brick >= 0.15.2 && < 0.18
                     , vty >= 5.4
                     , text
                     , microlens
                     , text-zipper >= 0.10
                     , transformers >= 0.3
                     , time >= 1.5
                     , vector
                     , megaparsec >= 5.0 && <5.4
                     , containers
                     , optparse-applicative
                     , directory
                     , text-format
                     , xdg-basedir
                     , unordered-containers
                     , free >= 4.12.4
  ghc-options:         -Wall -fdefer-typed-holes -fno-warn-name-shadowing

executable hledger-iadd
  hs-source-dirs:      src/main
  main-is:             Main.hs
  default-language:    Haskell2010
  build-depends:       base >= 4.8 && < 5
                     , hledger-iadd
                     , hledger-lib >= 1.0 && < 1.3
                     , brick >= 0.15.2 && < 0.18
                     , vty >= 5.4
                     , text
                     , microlens
                     , text-zipper >= 0.10
                     , transformers >= 0.3
                     , time >= 1.5
                     , vector
                     , optparse-applicative
                     , directory
                     , text-format
                     , xdg-basedir
                     , unordered-containers
                     , free >= 4.12.4
                     , megaparsec >= 5.0 && <5.4
  ghc-options:         -threaded -Wall -fdefer-typed-holes 
-fno-warn-name-shadowing

test-suite spec
  type:               exitcode-stdio-1.0
  hs-source-dirs:     tests
  main-is:            Spec.hs
  other-modules:      DateParserSpec
                    , ConfigParserSpec
                    , AmountParserSpec
                    , ModelSpec
  default-language:   Haskell2010
  build-depends:      base >= 4.8 && < 5
                    , hledger-iadd
                    , hledger-lib >= 1.0 && < 1.3
                    , text
                    , transformers >= 0.3
                    , time >= 1.5
                    , vector
                    , hspec
                    , QuickCheck
                    , text-format
                    , free >= 4.12.4
                    , megaparsec >= 5.0 && <5.4
                    , text-zipper >= 0.10
  ghc-options:        -threaded -Wall -fdefer-typed-holes 
-fno-warn-name-shadowing

Reply via email to