Hello community,

here is the log from the commit of package ghc-elm-bridge for openSUSE:Factory 
checked in at 2017-06-21 13:55:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-elm-bridge (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-elm-bridge.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-elm-bridge"

Wed Jun 21 13:55:12 2017 rev:3 rq:504663 version:0.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-elm-bridge/ghc-elm-bridge.changes    
2017-03-03 17:49:47.276602735 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-elm-bridge.new/ghc-elm-bridge.changes       
2017-06-21 13:55:14.771835478 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 09:41:42 UTC 2017 - psim...@suse.com
+
+- Update to version 0.4.1 revision 1.
+
+-------------------------------------------------------------------

Old:
----
  elm-bridge-0.4.0.tar.gz

New:
----
  elm-bridge-0.4.1.tar.gz
  elm-bridge.cabal

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

Other differences:
------------------
++++++ ghc-elm-bridge.spec ++++++
--- /var/tmp/diff_new_pack.TQYJps/_old  2017-06-21 13:55:15.739698952 +0200
+++ /var/tmp/diff_new_pack.TQYJps/_new  2017-06-21 13:55:15.743698388 +0200
@@ -19,13 +19,14 @@
 %global pkg_name elm-bridge
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.0
+Version:        0.4.1
 Release:        0
-Summary:        Derive Elm types from Haskell types
+Summary:        Derive Elm types and Json code from Haskell types
 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:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-rpm-macros
@@ -56,6 +57,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ elm-bridge-0.4.0.tar.gz -> elm-bridge-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elm-bridge-0.4.0/CHANGELOG.md 
new/elm-bridge-0.4.1/CHANGELOG.md
--- old/elm-bridge-0.4.0/CHANGELOG.md   2016-11-25 11:10:44.000000000 +0100
+++ new/elm-bridge-0.4.1/CHANGELOG.md   2017-06-06 11:38:39.000000000 +0200
@@ -1,3 +1,8 @@
+# v0.4.1
+
+## Bugfixes
+ * Fixed support for Elm 0.18 (see issue #17)
+
 # v0.4.0
 ## New features
  * Support for Elm 0.18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elm-bridge-0.4.0/elm-bridge.cabal 
new/elm-bridge-0.4.1/elm-bridge.cabal
--- old/elm-bridge-0.4.0/elm-bridge.cabal       2016-11-25 11:10:44.000000000 
+0100
+++ new/elm-bridge-0.4.1/elm-bridge.cabal       2017-06-06 11:37:55.000000000 
+0200
@@ -1,6 +1,6 @@
 name:                elm-bridge
-version:             0.4.0
-synopsis:            Derive Elm types from Haskell types
+version:             0.4.1
+synopsis:            Derive Elm types and Json code from Haskell types
 description:         Building the bridge from Haskell to Elm and back. Define 
types once,
                      use on both sides and enjoy easy (de)serialisation. 
Cheers!
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elm-bridge-0.4.0/src/Elm/Module.hs 
new/elm-bridge-0.4.1/src/Elm/Module.hs
--- old/elm-bridge-0.4.0/src/Elm/Module.hs      2016-11-25 11:10:44.000000000 
+0100
+++ new/elm-bridge-0.4.1/src/Elm/Module.hs      2017-04-03 09:28:22.000000000 
+0200
@@ -28,7 +28,7 @@
 -- | Creates an Elm module for the given version. This will use the default
 -- type conversion rules (to -- convert @Vector@ to @List@, @HashMap a b@
 -- to @List (a,b)@, etc.).
-makeElmModuleWithVersion :: ElmVersion 
+makeElmModuleWithVersion :: ElmVersion
                          -> String  -- ^ Module name
                          -> [DefineElm]  -- ^ List of definitions to be 
included in the module
                          -> String
@@ -36,7 +36,6 @@
     [ moduleHeader elmVersion moduleName
     , ""
     , "import Json.Decode"
-    , "import Json.Decode exposing ((:=))"
     , "import Json.Encode exposing (Value)"
     , "-- The following module comes from bartavelle/json-helpers"
     , "import Json.Helpers exposing (..)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elm-bridge-0.4.0/test/Elm/ModuleSpec.hs 
new/elm-bridge-0.4.1/test/Elm/ModuleSpec.hs
--- old/elm-bridge-0.4.0/test/Elm/ModuleSpec.hs 2016-11-25 11:10:44.000000000 
+0100
+++ new/elm-bridge-0.4.1/test/Elm/ModuleSpec.hs 2017-04-03 11:02:47.000000000 
+0200
@@ -34,7 +34,6 @@
     [ moduleHeader' elmVersion "Foo"
     , ""
     , "import Json.Decode"
-    , "import Json.Decode exposing ((:=))"
     , "import Json.Encode exposing (Value)"
     , "-- The following module comes from bartavelle/json-helpers"
     , "import Json.Helpers exposing (..)"
@@ -76,7 +75,6 @@
     [ moduleHeader' elmVersion "Qux"
     , ""
     , "import Json.Decode"
-    , "import Json.Decode exposing ((:=))"
     , "import Json.Encode exposing (Value)"
     , "-- The following module comes from bartavelle/json-helpers"
     , "import Json.Helpers exposing (..)"

++++++ elm-bridge.cabal ++++++
name:                elm-bridge
version:             0.4.1
x-revision: 1
synopsis:            Derive Elm types and Json code from Haskell types
description:         Building the bridge from Haskell to Elm and back. Define 
types once,
                     use on both sides and enjoy easy (de)serialisation. Cheers!

                     This module only supports Elm 0.18. Version 0.3.* supports 
both Elm 0.16 and Elm 0.17.
homepage:            https://github.com/agrafix/elm-bridge
license:             BSD3
license-file:        LICENSE
author:              Alexander Thiemann <m...@athiemann.net>, Simon Marechal 
<bartave...@gmail.com>
maintainer:          Alexander Thiemann <m...@athiemann.net>
copyright:           (c) 2015 - 2016 Alexander Thiemann and contributors
category:            Web, Compiler, Language
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:
    README.md
    CHANGELOG.md
    examples/*.hs


library
  hs-source-dirs:      src
  ghc-options:         -Wall
  exposed-modules:
                       Elm.Derive
                       Elm.Json
                       Elm.Module
                       Elm.TyRender
                       Elm.TyRep
                       Elm.Versions
  other-modules:       Elm.Utils
  build-depends:       base >= 4.7 && < 5,
                       template-haskell,
                       aeson  >= 0.9 && < 1.2
  default-language:    Haskell2010

test-suite end-to-end-tests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             EndToEnd.hs
  build-depends:       base,
                       elm-bridge,
                       aeson,
                       containers,
                       QuickCheck,
                       text
  default-language:    Haskell2010

test-suite derive-elm-tests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:
                       Elm.DeriveSpec
                       Elm.TyRenderSpec
                       Elm.JsonSpec
                       Elm.ModuleSpec
  build-depends:
                       base,
                       hspec >= 2.0,
                       elm-bridge,
                       aeson,
                       containers
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/agrafix/elm-bridge

Reply via email to