Hello community, here is the log from the commit of package ghc-Spock-worker for openSUSE:Factory checked in at 2017-04-14 13:32:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-Spock-worker (Old) and /work/SRC/openSUSE:Factory/.ghc-Spock-worker.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-Spock-worker" Fri Apr 14 13:32:19 2017 rev:2 rq:461529 version:0.3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-Spock-worker/ghc-Spock-worker.changes 2016-08-24 10:08:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-Spock-worker.new/ghc-Spock-worker.changes 2017-04-14 13:32:49.420918989 +0200 @@ -1,0 +2,5 @@ +Thu Sep 15 06:39:29 UTC 2016 - psim...@suse.com + +- Update to version 0.3.1.0 revision 0 with cabal2obs. + +------------------------------------------------------------------- Old: ---- Spock-worker-0.3.0.0.tar.gz New: ---- Spock-worker-0.3.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-Spock-worker.spec ++++++ --- /var/tmp/diff_new_pack.1sMOQO/_old 2017-04-14 13:32:50.148816120 +0200 +++ /var/tmp/diff_new_pack.1sMOQO/_new 2017-04-14 13:32:50.152815555 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-Spock-worker # -# 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 @@ -19,15 +19,14 @@ %global pkg_name Spock-worker %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.0.0 +Version: 0.3.1.0 Release: 0 Summary: Background workers for Spock 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-Spock-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-errors-devel @@ -43,7 +42,6 @@ %if %{with tests} BuildRequires: ghc-HTF-devel %endif -# End cabal-rpm deps %description Adds a background-job queue to Spock. @@ -62,20 +60,14 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache ++++++ Spock-worker-0.3.0.0.tar.gz -> Spock-worker-0.3.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Spock-worker-0.3.0.0/Spock-worker.cabal new/Spock-worker-0.3.1.0/Spock-worker.cabal --- old/Spock-worker-0.3.0.0/Spock-worker.cabal 2016-03-03 13:09:24.000000000 +0100 +++ new/Spock-worker-0.3.1.0/Spock-worker.cabal 2016-08-25 18:23:59.000000000 +0200 @@ -1,5 +1,5 @@ name: Spock-worker -version: 0.3.0.0 +version: 0.3.1.0 synopsis: Background workers for Spock description: Adds a background-job queue to Spock homepage: http://github.com/agrafix/Spock-worker @@ -7,11 +7,11 @@ license-file: LICENSE author: Alexander Thiemann <m...@athiemann.net> maintainer: m...@athiemann.net -copyright: (c) 2014 Alexander Thiemann +copyright: (c) 2014 - 2016 Alexander Thiemann category: Web build-type: Simple cabal-version: >=1.10 -tested-with: GHC==7.10.3 +tested-with: GHC==7.10.3, GHC==8.0.1 library exposed-modules: @@ -21,7 +21,7 @@ hs-source-dirs: src default-language: Haskell2010 build-depends: - Spock >=0.7.2, + Spock >=0.11, base >=4.8 && < 5, containers >=0.5, lifted-base, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Spock-worker-0.3.0.0/src/Web/Spock/Worker/Internal/Queue.hs new/Spock-worker-0.3.1.0/src/Web/Spock/Worker/Internal/Queue.hs --- old/Spock-worker-0.3.0.0/src/Web/Spock/Worker/Internal/Queue.hs 2016-03-03 13:03:43.000000000 +0100 +++ new/Spock-worker-0.3.1.0/src/Web/Spock/Worker/Internal/Queue.hs 2016-08-25 18:05:39.000000000 +0200 @@ -24,7 +24,7 @@ isFullPQ pq = sizePQ pq >= pq_maxSize pq -toListPQ :: Ord p => PureQueue p v -> [(p, [v])] +toListPQ :: PureQueue p v -> [(p, [v])] toListPQ (PureQueue m _) = map (second V.toList) (M.toList m) @@ -37,7 +37,7 @@ (PureQueue (M.insert k (V.fromList v) content) limit) ) (emptyPQ limit) kv -maxPrioPQ :: Ord p => PureQueue p v -> p +maxPrioPQ :: PureQueue p v -> p maxPrioPQ (PureQueue m _) = fst (M.findMax m) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Spock-worker-0.3.0.0/src/Web/Spock/Worker.hs new/Spock-worker-0.3.1.0/src/Web/Spock/Worker.hs --- old/Spock-worker-0.3.0.0/src/Web/Spock/Worker.hs 2016-03-03 13:00:36.000000000 +0100 +++ new/Spock-worker-0.3.1.0/src/Web/Spock/Worker.hs 2016-07-24 16:52:51.000000000 +0200 @@ -16,14 +16,14 @@ ) where -import Control.Concurrent -import Control.Concurrent.STM -import Control.Error -import Control.Exception.Lifted as EX -import Control.Monad -import Control.Monad.Trans -import Data.Time -import Web.Spock.Shared +import Control.Concurrent +import Control.Concurrent.STM +import Control.Error +import Control.Exception.Lifted as EX +import Control.Monad +import Control.Monad.Trans +import Data.Time +import Web.Spock import qualified Web.Spock.Worker.Internal.Queue as Q -- | An error from a worker