Hello community,

here is the log from the commit of package ghc-vector for openSUSE:Factory 
checked in at 2019-05-09 10:10:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vector (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-vector.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-vector"

Thu May  9 10:10:43 2019 rev:19 rq:700207 version:0.12.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vector/ghc-vector.changes    2018-12-10 
12:29:50.818436489 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-vector.new.5148/ghc-vector.changes  
2019-05-09 10:10:43.225253154 +0200
@@ -1,0 +2,7 @@
+Wed May  1 02:03:09 UTC 2019 - [email protected]
+
+- Update vector to version 0.12.0.3.
+  Changes in version 0.12.0.3
+    * Add support for ghc >=8.8 monad fail
+
+-------------------------------------------------------------------

Old:
----
  vector-0.12.0.2.tar.gz

New:
----
  vector-0.12.0.3.tar.gz
  vector.cabal

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

Other differences:
------------------
++++++ ghc-vector.spec ++++++
--- /var/tmp/diff_new_pack.Rub9w0/_old  2019-05-09 10:10:43.777254734 +0200
+++ /var/tmp/diff_new_pack.Rub9w0/_new  2019-05-09 10:10:43.781254746 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-vector
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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,13 +19,14 @@
 %global pkg_name vector
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.12.0.2
+Version:        0.12.0.3
 Release:        0
 Summary:        Efficient Arrays
 License:        BSD-3-Clause
 Group:          Development/Libraries/Haskell
 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-deepseq-devel
 BuildRequires:  ghc-primitive-devel
@@ -78,6 +79,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ vector-0.12.0.2.tar.gz -> vector-0.12.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vector-0.12.0.2/Data/Vector.hs 
new/vector-0.12.0.3/Data/Vector.hs
--- old/vector-0.12.0.2/Data/Vector.hs  1970-01-01 01:00:00.000000000 +0100
+++ new/vector-0.12.0.3/Data/Vector.hs  2001-09-09 03:46:40.000000000 +0200
@@ -173,7 +173,7 @@
 import Control.Monad ( MonadPlus(..), liftM, ap )
 import Control.Monad.ST ( ST )
 import Control.Monad.Primitive
-
+import qualified Control.Monad.Fail as Fail
 
 import Control.Monad.Zip
 
@@ -340,7 +340,12 @@
 
   {-# INLINE (>>=) #-}
   (>>=) = flip concatMap
+#if !(MIN_VERSION_base(4,13,0))
+  {-# INLINE fail #-}
+  fail = Fail.fail -- == \ _str -> empty
+#endif
 
+instance Fail.MonadFail Vector where
   {-# INLINE fail #-}
   fail _ = empty
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vector-0.12.0.2/changelog 
new/vector-0.12.0.3/changelog
--- old/vector-0.12.0.2/changelog       1970-01-01 01:00:00.000000000 +0100
+++ new/vector-0.12.0.3/changelog       2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,5 @@
+Changes in version 0.12.0.3
+  * Add support for ghc >=8.8 monad fail
 Changes in version 0.12.0.2
   * Fixes issue #220, compact heap operations crashing on boxed vectors 
constructed
     using traverse.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vector-0.12.0.2/vector.cabal 
new/vector-0.12.0.3/vector.cabal
--- old/vector-0.12.0.2/vector.cabal    1970-01-01 01:00:00.000000000 +0100
+++ new/vector-0.12.0.3/vector.cabal    2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 Name:           vector
-Version:        0.12.0.2
+Version:        0.12.0.3
 -- don't forget to update the changelog file!
 License:        BSD3
 License-File:   LICENSE
@@ -149,7 +149,8 @@
                , ghc-prim >= 0.2 && < 0.6
                , deepseq >= 1.1 && < 1.5
   if !impl(ghc > 8.0)
-    Build-Depends: semigroups >= 0.18 && < 0.19
+    Build-Depends: fail == 4.9.*
+                 , semigroups >= 0.18 && < 0.19
 
   Ghc-Options: -O2 -Wall
 

++++++ vector.cabal ++++++
Name:           vector
Version:        0.12.0.3
x-revision: 1
-- don't forget to update the changelog file!
License:        BSD3
License-File:   LICENSE
Author:         Roman Leshchinskiy <[email protected]>
Maintainer:     Haskell Libraries Team <[email protected]>
Copyright:      (c) Roman Leshchinskiy 2008-2012
Homepage:       https://github.com/haskell/vector
Bug-Reports:    https://github.com/haskell/vector/issues
Category:       Data, Data Structures
Synopsis:       Efficient Arrays
Description:
        .
        An efficient implementation of Int-indexed arrays (both mutable
        and immutable), with a powerful loop optimisation framework .
        .
        It is structured as follows:
        .
        ["Data.Vector"] Boxed vectors of arbitrary types.
        .
        ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive
        representation based on data type families.
        .
        ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types.
        .
        ["Data.Vector.Primitive"] Unboxed vectors of primitive types as
        defined by the @primitive@ package. "Data.Vector.Unboxed" is more
        flexible at no performance cost.
        .
        ["Data.Vector.Generic"] Generic interface to the vector types.
        .
        There is also a (draft) tutorial on common uses of vector.
        .
        * <http://haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial>

Tested-With:
  GHC == 7.4.2,
  GHC == 7.6.3,
  GHC == 7.8.4,
  GHC == 7.10.3,
  GHC == 8.0.1

Cabal-Version:  >=1.10
Build-Type:     Simple

Extra-Source-Files:
      changelog
      README.md
      tests/LICENSE
      tests/Setup.hs
      tests/Main.hs
      benchmarks/vector-benchmarks.cabal
      benchmarks/LICENSE
      benchmarks/Setup.hs
      benchmarks/Main.hs
      benchmarks/Algo/AwShCC.hs
      benchmarks/Algo/HybCC.hs
      benchmarks/Algo/Leaffix.hs
      benchmarks/Algo/ListRank.hs
      benchmarks/Algo/Quickhull.hs
      benchmarks/Algo/Rootfix.hs
      benchmarks/Algo/Spectral.hs
      benchmarks/Algo/Tridiag.hs
      benchmarks/TestData/Graph.hs
      benchmarks/TestData/ParenTree.hs
      benchmarks/TestData/Random.hs
      changelog
      internal/GenUnboxTuple.hs
      internal/unbox-tuple-instances

Flag BoundsChecks
  Description: Enable bounds checking
  Default: True
  Manual: True

Flag UnsafeChecks
  Description: Enable bounds checking in unsafe operations at the cost of a
               significant performance penalty
  Default: False
  Manual: True

Flag InternalChecks
  Description: Enable internal consistency checks at the cost of a
               significant performance penalty
  Default: False
  Manual: True

Flag Wall
  Description: Enable all -Wall warnings
  Default: False
  Manual: True

Library
  Default-Language: Haskell2010
  Other-Extensions:
        BangPatterns
        CPP
        DeriveDataTypeable
        ExistentialQuantification
        FlexibleContexts
        FlexibleInstances
        GADTs
        KindSignatures
        MagicHash
        MultiParamTypeClasses
        Rank2Types
        ScopedTypeVariables
        StandaloneDeriving
        TypeFamilies

  Exposed-Modules:
        Data.Vector.Internal.Check

        Data.Vector.Fusion.Util
        Data.Vector.Fusion.Stream.Monadic
        Data.Vector.Fusion.Bundle.Size
        Data.Vector.Fusion.Bundle.Monadic
        Data.Vector.Fusion.Bundle

        Data.Vector.Generic.Mutable.Base
        Data.Vector.Generic.Mutable
        Data.Vector.Generic.Base
        Data.Vector.Generic.New
        Data.Vector.Generic

        Data.Vector.Primitive.Mutable
        Data.Vector.Primitive

        Data.Vector.Storable.Internal
        Data.Vector.Storable.Mutable
        Data.Vector.Storable

        Data.Vector.Unboxed.Base
        Data.Vector.Unboxed.Mutable
        Data.Vector.Unboxed

        Data.Vector.Mutable
        Data.Vector

  Include-Dirs:
        include, internal

  Install-Includes:
        vector.h

  Build-Depends: base >= 4.5 && < 4.14
               , primitive >= 0.5.0.1 && < 0.8
               , ghc-prim >= 0.2 && < 0.6
               , deepseq >= 1.1 && < 1.5
  if !impl(ghc > 8.0)
    Build-Depends: fail == 4.9.*
                 , semigroups >= 0.18 && < 0.19

  Ghc-Options: -O2 -Wall

  if !flag(Wall)
    Ghc-Options: -fno-warn-orphans

    if impl(ghc >= 8.0) && impl(ghc < 8.1)
      Ghc-Options:   -Wno-redundant-constraints

  if flag(BoundsChecks)
    cpp-options: -DVECTOR_BOUNDS_CHECKS

  if flag(UnsafeChecks)
    cpp-options: -DVECTOR_UNSAFE_CHECKS

  if flag(InternalChecks)
    cpp-options: -DVECTOR_INTERNAL_CHECKS

source-repository head
  type:     git
  location: https://github.com/haskell/vector.git



test-suite vector-tests-O0
  Default-Language: Haskell2010
  type: exitcode-stdio-1.0
  Main-Is:  Main.hs

  other-modules: Boilerplater
                 Tests.Bundle
                 Tests.Move
                 Tests.Vector
                 Tests.Vector.UnitTests
                 Utilities

  hs-source-dirs: tests
  Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, 
vector,
                 random, primitive,
                 QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework,
                 test-framework-hunit, test-framework-quickcheck2,
                 transformers >= 0.2.0.0

  default-extensions: CPP,
              ScopedTypeVariables,
              PatternGuards,
              MultiParamTypeClasses,
              FlexibleContexts,
              Rank2Types,
              TypeSynonymInstances,
              TypeFamilies,
              TemplateHaskell

  Ghc-Options: -O0
  Ghc-Options: -Wall

  if !flag(Wall)
    Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures
    if impl(ghc >= 8.0) && impl( ghc < 8.1)
      Ghc-Options: -Wno-redundant-constraints


test-suite vector-tests-O2
  Default-Language: Haskell2010
  type: exitcode-stdio-1.0
  Main-Is:  Main.hs

  other-modules: Boilerplater
                 Tests.Bundle
                 Tests.Move
                 Tests.Vector
                 Tests.Vector.UnitTests
                 Utilities

  hs-source-dirs: tests
  Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, 
vector,
                 random, primitive,
                 QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework,
                 test-framework-hunit, test-framework-quickcheck2,
                 transformers >= 0.2.0.0

  default-extensions: CPP,
              ScopedTypeVariables,
              PatternGuards,
              MultiParamTypeClasses,
              FlexibleContexts,
              Rank2Types,
              TypeSynonymInstances,
              TypeFamilies,
              TemplateHaskell

  Ghc-Options: -O2 -Wall

  if !flag(Wall)
    Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures
    if impl(ghc >= 8.0) && impl(ghc < 8.1)
      Ghc-Options: -Wno-redundant-constraints


Reply via email to