Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-io-streams for openSUSE:Factory 
checked in at 2022-10-13 15:44:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-io-streams (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-io-streams.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-io-streams"

Thu Oct 13 15:44:08 2022 rev:7 rq:1009708 version:1.5.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-io-streams/ghc-io-streams.changes    
2022-08-01 21:28:57.873409554 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-io-streams.new.2275/ghc-io-streams.changes  
2022-10-13 15:44:40.199033647 +0200
@@ -1,0 +2,13 @@
+Wed Aug 17 18:04:17 UTC 2022 - Peter Simons <[email protected]>
+
+- Update io-streams to version 1.5.2.2.
+  Upstream has not updated the file "changelog.md" since the last
+  release.
+
+-------------------------------------------------------------------
+Mon Aug 15 09:24:37 UTC 2022 - Peter Simons <[email protected]>
+
+- Update io-streams to version 1.5.2.1 revision 3.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

Old:
----
  io-streams-1.5.2.1.tar.gz
  io-streams.cabal

New:
----
  io-streams-1.5.2.2.tar.gz

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

Other differences:
------------------
++++++ ghc-io-streams.spec ++++++
--- /var/tmp/diff_new_pack.5iHgie/_old  2022-10-13 15:44:41.403035998 +0200
+++ /var/tmp/diff_new_pack.5iHgie/_new  2022-10-13 15:44:41.419036028 +0200
@@ -19,13 +19,12 @@
 %global pkg_name io-streams
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.5.2.1
+Version:        1.5.2.2
 Release:        0
 Summary:        Simple, composable, and easy-to-use stream I/O
 License:        BSD-3-Clause
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-attoparsec-devel
 BuildRequires:  ghc-bytestring-devel
@@ -121,7 +120,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ io-streams-1.5.2.1.tar.gz -> io-streams-1.5.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/io-streams-1.5.2.1/io-streams.cabal 
new/io-streams-1.5.2.2/io-streams.cabal
--- old/io-streams-1.5.2.1/io-streams.cabal     2001-09-09 03:46:40.000000000 
+0200
+++ new/io-streams-1.5.2.2/io-streams.cabal     2001-09-09 03:46:40.000000000 
+0200
@@ -1,5 +1,5 @@
 Name:                io-streams
-Version:             1.5.2.1
+Version:             1.5.2.2
 License:             BSD3
 License-file:        LICENSE
 Category:            Data, Network, IO-Streams
@@ -7,9 +7,20 @@
 Maintainer:          Gregory Collins <[email protected]>
 Cabal-version:       >= 1.10
 Synopsis:            Simple, composable, and easy-to-use stream I/O
-Tested-With:         GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3,
-                     GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.3,
-                     GHC==8.8.3, GHC==8.10.1, GHC==9.0.1
+Tested-With:
+  GHC == 9.4.1
+  GHC == 9.2.4
+  GHC == 9.0.2
+  GHC == 8.10.7
+  GHC == 8.8.4
+  GHC == 8.6.5
+  GHC == 8.4.4
+  GHC == 8.2.2
+  GHC == 8.0.2
+  GHC == 7.10.3
+  GHC == 7.8.4
+  GHC == 7.6.3
+  GHC == 7.4.2
 
 Bug-Reports:         https://github.com/snapframework/io-streams/issues
 Description:
@@ -128,14 +139,14 @@
                      System.IO.Streams.Internal.Search
 
   Build-depends:     base               >= 4     && <5,
-                     attoparsec         >= 0.10  && <0.14,
+                     attoparsec         >= 0.10  && <0.15,
                      bytestring         >= 0.9   && <0.12,
                      primitive          >= 0.2   && <0.8,
                      process            >= 1.1   && <1.7,
-                     text               >= 0.10  && <1.3,
-                     time               >= 1.2   && <1.10,
-                     transformers       >= 0.2   && <0.6,
-                     vector             >= 0.7   && <0.13
+                     text               >=0.10   && <1.3  || >= 2.0 && <2.1,
+                     time               >= 1.2   && <1.13,
+                     transformers       >= 0.2   && <0.7,
+                     vector             >= 0.7   && <0.14
 
   if !impl(ghc >= 7.8)
     Build-depends:   bytestring-builder >= 0.10  && <0.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/io-streams-1.5.2.1/src/System/IO/Streams/Vector.hs 
new/io-streams-1.5.2.2/src/System/IO/Streams/Vector.hs
--- old/io-streams-1.5.2.1/src/System/IO/Streams/Vector.hs      2001-09-09 
03:46:40.000000000 +0200
+++ new/io-streams-1.5.2.2/src/System/IO/Streams/Vector.hs      2001-09-09 
03:46:40.000000000 +0200
@@ -1,6 +1,7 @@
 {-# LANGUAGE BangPatterns          #-}
 {-# LANGUAGE MultiParamTypeClasses #-}
 {-# LANGUAGE RankNTypes            #-}
+{-# LANGUAGE CPP                   #-}
 
 -- | Vector conversions and utilities.
 
@@ -29,7 +30,7 @@
 import           Control.Concurrent.MVar     (modifyMVar, modifyMVar_, newMVar)
 import           Control.Monad               (liftM, (>=>))
 import           Control.Monad.IO.Class      (MonadIO (..))
-import           Control.Monad.Primitive     (PrimState (..))
+import           Control.Monad.Primitive     (PrimState (..), RealWorld)
 import           Data.IORef                  (IORef, newIORef, readIORef, 
writeIORef)
 import           Data.Vector.Generic         (Vector (..))
 import qualified Data.Vector.Generic         as V
@@ -38,6 +39,16 @@
 import           System.IO.Streams.Internal  (InputStream, OutputStream, 
fromGenerator, yield)
 import qualified System.IO.Streams.Internal  as S
 
+#if MIN_VERSION_vector(0,13,0)
+import Control.Monad.ST (stToIO)
+#endif
+
+basicUnsafeFreezeCompat :: Vector v a => V.Mutable v RealWorld a -> IO (v a)
+#if MIN_VERSION_vector(0,13,0)
+basicUnsafeFreezeCompat = stToIO . V.basicUnsafeFreeze
+#else
+basicUnsafeFreezeCompat = V.basicUnsafeFreeze
+#endif
 
 ------------------------------------------------------------------------------
 -- | Transforms a vector into an 'InputStream' that yields each of the values
@@ -77,7 +88,7 @@
 -- | Like 'toVector', but allows control over how large the vector buffer is to
 -- start with.
 toVectorSized :: Vector v a => Int -> InputStream a -> IO (v a)
-toVectorSized n = toMutableVectorSized n >=> V.basicUnsafeFreeze
+toVectorSized n = toMutableVectorSized n >=> basicUnsafeFreezeCompat
 {-# INLINE toVectorSized #-}
 
 
@@ -136,7 +147,7 @@
 vectorOutputStreamSized :: Vector v c => Int -> IO (OutputStream c, IO (v c))
 vectorOutputStreamSized n = do
     (os, flush) <- mutableVectorOutputStreamSized n
-    return $! (os, flush >>= V.basicUnsafeFreeze)
+    return $! (os, flush >>= basicUnsafeFreezeCompat)
 
 
 ------------------------------------------------------------------------------
@@ -291,7 +302,7 @@
                        Int
                     -> (OutputStream a -> IO b)
                     -> IO (v a)
-outputToVectorSized n = outputToMutableVectorSized n >=> V.basicUnsafeFreeze
+outputToVectorSized n = outputToMutableVectorSized n >=> 
basicUnsafeFreezeCompat
 {-# INLINE outputToVectorSized #-}
 
 

Reply via email to