Hello community,

here is the log from the commit of package ghc-yesod-eventsource for 
openSUSE:Factory checked in at 2017-04-11 09:44:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod-eventsource (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-yesod-eventsource.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-yesod-eventsource"

Tue Apr 11 09:44:39 2017 rev:2 rq:485227 version:1.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-yesod-eventsource/ghc-yesod-eventsource.changes  
    2017-03-28 15:19:26.665171210 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-yesod-eventsource.new/ghc-yesod-eventsource.changes
 2017-04-11 09:44:41.745042911 +0200
@@ -1,0 +2,5 @@
+Tue Mar  7 11:19:25 UTC 2017 - [email protected]
+
+- Update to version 1.4.1 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  yesod-eventsource-1.4.0.1.tar.gz

New:
----
  yesod-eventsource-1.4.1.tar.gz

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

Other differences:
------------------
++++++ ghc-yesod-eventsource.spec ++++++
--- /var/tmp/diff_new_pack.hMyEIi/_old  2017-04-11 09:44:44.672629350 +0200
+++ /var/tmp/diff_new_pack.hMyEIi/_new  2017-04-11 09:44:44.672629350 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-yesod-eventsource
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,14 @@
 
 %global pkg_name yesod-eventsource
 Name:           ghc-%{pkg_name}
-Version:        1.4.0.1
+Version:        1.4.1
 Release:        0
 Summary:        Server-sent events support for Yesod apps
 License:        MIT
-Group:          System/Libraries
+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
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-blaze-builder-devel
 BuildRequires:  ghc-conduit-devel
 BuildRequires:  ghc-rpm-macros
@@ -36,7 +35,6 @@
 BuildRequires:  ghc-wai-extra-devel
 BuildRequires:  ghc-yesod-core-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 API docs and the README are available at
@@ -57,15 +55,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++++++ yesod-eventsource-1.4.0.1.tar.gz -> yesod-eventsource-1.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-eventsource-1.4.0.1/ChangeLog.md 
new/yesod-eventsource-1.4.1/ChangeLog.md
--- old/yesod-eventsource-1.4.0.1/ChangeLog.md  2014-12-21 14:37:48.000000000 
+0100
+++ new/yesod-eventsource-1.4.1/ChangeLog.md    2017-02-08 10:17:42.000000000 
+0100
@@ -1 +1,3 @@
-No changes logged yet
+## 1.4.1
+
+* Fix warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-eventsource-1.4.0.1/Yesod/EventSource.hs 
new/yesod-eventsource-1.4.1/Yesod/EventSource.hs
--- old/yesod-eventsource-1.4.0.1/Yesod/EventSource.hs  2014-12-21 
14:37:48.000000000 +0100
+++ new/yesod-eventsource-1.4.1/Yesod/EventSource.hs    2017-02-05 
13:38:01.000000000 +0100
@@ -11,7 +11,7 @@
 import Blaze.ByteString.Builder (Builder)
 import Control.Monad (when)
 import Data.Functor ((<$>))
-import Data.Monoid (mappend, mempty)
+import Data.Monoid (Monoid (..))
 import Yesod.Core
 import qualified Data.Conduit as C
 import qualified Network.Wai as W
@@ -24,7 +24,7 @@
 -- set any necessary headers.
 prepareForEventSource :: MonadHandler m => m EventSourcePolyfill
 prepareForEventSource = do
-  reqWith <- lookup "X-Requested-With" . W.requestHeaders <$> waiRequest
+  reqWith <- lookup "X-Requested-With" . W.requestHeaders Data.Functor.<$> 
waiRequest
   let polyfill | reqWith == Just "XMLHttpRequest" = Remy'sESPolyfill
                | otherwise                        = NoESPolyfill
   addHeader "Cache-Control" "no-cache" -- extremely important!
@@ -87,7 +87,7 @@
       -- when we the connection should be closed.
       joinEvents (ev:evs) acc =
         case ES.eventToBuilder ev of
-          Just b  -> joinEvents evs (acc `mappend` b)
+          Just b  -> joinEvents evs (acc `Data.Monoid.mappend` b)
           Nothing -> (fst $ joinEvents [] acc, False)
       joinEvents [] acc = (acc, True)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-eventsource-1.4.0.1/yesod-eventsource.cabal 
new/yesod-eventsource-1.4.1/yesod-eventsource.cabal
--- old/yesod-eventsource-1.4.0.1/yesod-eventsource.cabal       2014-12-21 
14:37:48.000000000 +0100
+++ new/yesod-eventsource-1.4.1/yesod-eventsource.cabal 2017-02-08 
10:17:25.000000000 +0100
@@ -1,5 +1,5 @@
 name:            yesod-eventsource
-version:         1.4.0.1
+version:         1.4.1
 license:         MIT
 license-file:    LICENSE
 author:          Felipe Lessa <[email protected]>


Reply via email to