Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-base16-bytestring for
openSUSE:Factory checked in at 2021-11-11 21:36:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-base16-bytestring (Old)
and /work/SRC/openSUSE:Factory/.ghc-base16-bytestring.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-base16-bytestring"
Thu Nov 11 21:36:11 2021 rev:13 rq:930306 version:1.0.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-base16-bytestring/ghc-base16-bytestring.changes
2020-12-22 11:35:27.661258487 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-base16-bytestring.new.1890/ghc-base16-bytestring.changes
2021-11-11 21:36:15.764881682 +0100
@@ -1,0 +2,8 @@
+Mon Nov 1 08:26:56 UTC 2021 - [email protected]
+
+- Update base16-bytestring to version 1.0.2.0.
+ # 1.0.2.0
+
+ * Support sized primitive types in GHC 9.2
([#16](https://github.com/haskell/base16-bytestring/pull/16) - thanks Bodigrim!)
+
+-------------------------------------------------------------------
Old:
----
base16-bytestring-1.0.1.0.tar.gz
New:
----
base16-bytestring-1.0.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-base16-bytestring.spec ++++++
--- /var/tmp/diff_new_pack.KY4v9t/_old 2021-11-11 21:36:16.212882009 +0100
+++ /var/tmp/diff_new_pack.KY4v9t/_new 2021-11-11 21:36:16.216882012 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-base16-bytestring
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name base16-bytestring
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.0.1.0
+Version: 1.0.2.0
Release: 0
Summary: RFC 4648-compliant Base16 encodings for ByteStrings
License: BSD-3-Clause
++++++ base16-bytestring-1.0.1.0.tar.gz -> base16-bytestring-1.0.2.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base16-bytestring-1.0.1.0/CHANGELOG.md
new/base16-bytestring-1.0.2.0/CHANGELOG.md
--- old/base16-bytestring-1.0.1.0/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/base16-bytestring-1.0.2.0/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,6 +1,10 @@
+# 1.0.2.0
+
+* Support sized primitive types in GHC 9.2
([#16](https://github.com/haskell/base16-bytestring/pull/16) - thanks Bodigrim!)
+
# 1.0.1.0
-* Backwards-compatible support for `bytestring ^>= 0.11`
([#15](https://github.com/haskell/base16-bytestring/pull/15))
+* Backwards-compatible support for `bytestring ^>= 0.11`
([#15](https://github.com/haskell/base16-bytestring/pull/15))
# 1.0.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/base16-bytestring-1.0.1.0/Data/ByteString/Base16/Internal.hs
new/base16-bytestring-1.0.2.0/Data/ByteString/Base16/Internal.hs
--- old/base16-bytestring-1.0.1.0/Data/ByteString/Base16/Internal.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/base16-bytestring-1.0.2.0/Data/ByteString/Base16/Internal.hs
2001-09-09 03:46:40.000000000 +0200
@@ -10,13 +10,12 @@
, c2w
, aix
, reChunk
-, unsafeShiftR
, withBS
, mkBS
) where
-import Data.Bits ((.&.), (.|.))
+import Data.Bits ((.&.), (.|.), unsafeShiftR)
import qualified Data.ByteString as B
import Data.ByteString.Internal (ByteString(..))
import Data.Char (ord)
@@ -26,7 +25,7 @@
import Foreign.Storable (Storable(poke, peek))
import GHC.Word (Word8(..))
-import GHC.Exts (Int(I#), Addr#, indexWord8OffAddr#, word2Int#,
uncheckedShiftRL#)
+import GHC.Exts (Int(I#), Addr#, indexWord8OffAddr#)
#if __GLASGOW_HASKELL__ >= 702
import System.IO.Unsafe (unsafeDupablePerformIO)
@@ -135,7 +134,9 @@
-- Utils
aix :: Word8 -> Addr# -> Word8
-aix (W8# w) table = W8# (indexWord8OffAddr# table (word2Int# w))
+aix w table = W8# (indexWord8OffAddr# table i)
+ where
+ !(I# i) = fromIntegral w
{-# INLINE aix #-}
-- | Form a list of chunks, and rechunk the list of bytestrings
@@ -157,10 +158,6 @@
in q' : reChunk as'
else cont_ q' as
-unsafeShiftR :: Word8 -> Int -> Word8
-unsafeShiftR (W8# x#) (I# i#) = W8# (x# `uncheckedShiftRL#` i#)
-{-# INLINE unsafeShiftR #-}
-
c2w :: Char -> Word8
c2w = fromIntegral . ord
{-# INLINE c2w #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base16-bytestring-1.0.1.0/base16-bytestring.cabal
new/base16-bytestring-1.0.2.0/base16-bytestring.cabal
--- old/base16-bytestring-1.0.1.0/base16-bytestring.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/base16-bytestring-1.0.2.0/base16-bytestring.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 1.12
name: base16-bytestring
-version: 1.0.1.0
+version: 1.0.2.0
synopsis: RFC 4648-compliant Base16 encodings for ByteStrings
description:
This package provides support for encoding and decoding binary data according
@@ -31,20 +31,13 @@
CHANGELOG.md
tested-with:
- GHC ==7.0.4
- || ==7.2.2
- || ==7.4.2
- || ==7.6.3
- || ==7.8.4
- || ==7.10.3
- || ==8.0.2
+ GHC ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
- || ==8.8.3
|| ==8.8.4
- || ==8.10.1
- || ==8.10.2
+ || ==8.10.4
+ || ==9.0.1
source-repository head
type: git
@@ -57,7 +50,7 @@
Data.ByteString.Base16.Lazy
build-depends:
- base >=4 && <5
+ base >=4.9 && <5
, bytestring >=0.9 && <0.12
ghc-options: -Wall -funbox-strict-fields