Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-case-insensitive for 
openSUSE:Factory checked in at 2026-11-09 16:03:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-case-insensitive (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-case-insensitive.new.3759290 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-case-insensitive"

Mon Nov  9 16:03:33 2026 rev:24 rq:1396004 version:1.2.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-case-insensitive/ghc-case-insensitive.changes    
    2023-04-04 21:19:05.380681343 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-case-insensitive.new.3759290/ghc-case-insensitive.changes
   2026-11-09 16:04:15.689851340 +0100
@@ -1,0 +2,11 @@
+Thu Nov  5 20:14:56 UTC 2026 - Peter Simons <[email protected]>
+
+- Update case-insensitive to version 1.2.2.0.
+  1.2.2.0
+
+  * Drop support for old GHC versions (support GHC 9.2+, MHS)
+  * Add `Lift` instance to `CI`
+  * Add `FoldCase` instance for `ShortByteString`
+  * Tighten dependency bounds.
+
+-------------------------------------------------------------------

Old:
----
  case-insensitive-1.2.1.0.tar.gz

New:
----
  case-insensitive-1.2.2.0.tar.gz

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

Other differences:
------------------
++++++ ghc-case-insensitive.spec ++++++
--- /var/tmp/diff_new_pack.02nhI3/_old  2026-11-09 16:04:16.621890414 +0100
+++ /var/tmp/diff_new_pack.02nhI3/_new  2026-11-09 16:04:16.623890498 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-case-insensitive
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.2.1.0
+Version:        1.2.2.0
 Release:        0
 Summary:        Case insensitive string comparison
 License:        BSD-3-Clause
@@ -36,16 +36,18 @@
 BuildRequires:  ghc-hashable-devel
 BuildRequires:  ghc-hashable-prof
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-template-haskell-prof
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-text-prof
 ExcludeArch:    %{ix86}
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-HUnit-prof
-BuildRequires:  ghc-test-framework-devel
-BuildRequires:  ghc-test-framework-hunit-devel
-BuildRequires:  ghc-test-framework-hunit-prof
-BuildRequires:  ghc-test-framework-prof
+BuildRequires:  ghc-tasty-devel
+BuildRequires:  ghc-tasty-hunit-devel
+BuildRequires:  ghc-tasty-hunit-prof
+BuildRequires:  ghc-tasty-prof
 %endif
 
 %description

++++++ case-insensitive-1.2.1.0.tar.gz -> case-insensitive-1.2.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.1.0/CHANGELOG 
new/case-insensitive-1.2.2.0/CHANGELOG
--- old/case-insensitive-1.2.1.0/CHANGELOG      2019-05-05 06:35:04.000000000 
+0200
+++ new/case-insensitive-1.2.2.0/CHANGELOG      2001-09-09 03:46:40.000000000 
+0200
@@ -1,3 +1,10 @@
+1.2.2.0
+
+* Drop support for old GHC versions (support GHC 9.2+, MHS)
+* Add `Lift` instance to `CI`
+* Add `FoldCase` instance for `ShortByteString`
+* Tighten dependency bounds.
+
 1.2.1.0
 
 *  Add traverse
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/case-insensitive-1.2.1.0/Data/CaseInsensitive/Internal.hs 
new/case-insensitive-1.2.2.0/Data/CaseInsensitive/Internal.hs
--- old/case-insensitive-1.2.1.0/Data/CaseInsensitive/Internal.hs       
2019-05-05 06:35:04.000000000 +0200
+++ new/case-insensitive-1.2.2.0/Data/CaseInsensitive/Internal.hs       
2001-09-09 03:46:40.000000000 +0200
@@ -1,8 +1,4 @@
-{-# LANGUAGE CPP, DeriveDataTypeable #-}
-
-#if __GLASGOW_HASKELL__ >= 704
-{-# LANGUAGE Unsafe #-}
-#endif
+{-# LANGUAGE DeriveDataTypeable, TemplateHaskell, DeriveLift, Unsafe, CPP #-}
 
 -----------------------------------------------------------------------------
 -- |
@@ -36,11 +32,10 @@
 import Data.Char      ( Char, toLower )
 import Data.Eq        ( Eq, (==) )
 import Data.Function  ( on )
-import Data.Monoid    ( Monoid, mempty, mappend )
+import Data.Monoid    ( Monoid, mempty )
 import Data.Ord       ( Ord, compare )
 import Data.String    ( IsString, fromString )
 import Data.Data      ( Data )
-import Data.Typeable  ( Typeable )
 import Data.Word      ( Word8 )
 import Prelude        ( (.), fmap, (&&), (+), (<=), otherwise )
 import Text.Read      ( Read, readPrec )
@@ -49,14 +44,10 @@
 
 import qualified Data.List as L ( map )
 
-#if __GLASGOW_HASKELL__ < 700
-import Control.Monad ( (>>) )
-import Prelude       ( fromInteger )
-#endif
-
 -- from bytestring:
 import qualified Data.ByteString      as B  ( ByteString, map )
 import qualified Data.ByteString.Lazy as BL ( ByteString, map )
+import qualified Data.ByteString.Short as BS ( ShortByteString, map )
 
 -- from text:
 import qualified Data.Text      as T  ( Text, toCaseFold )
@@ -68,6 +59,10 @@
 -- from hashable:
 import Data.Hashable ( Hashable, hashWithSalt )
 
+#ifdef __GLASGOW_HASKELL__
+-- from template-haskell:
+import Language.Haskell.TH.Syntax ( Lift )
+#endif
 
 
--------------------------------------------------------------------------------
 -- Case Insensitive Strings
@@ -90,7 +85,12 @@
                , foldedCase :: !s -- ^ Retrieve the case folded string-like 
value.
                                   --   (Also see 'foldCase').
                }
-          deriving (Data, Typeable)
+          deriving
+            ( Data
+#ifdef __GLASGOW_HASKELL__
+            , Lift
+#endif
+            )
 
 -- | Make the given string-like value case insensitive.
 mk :: FoldCase s => s -> CI s
@@ -121,7 +121,6 @@
 
 instance Monoid s => Monoid (CI s) where
     mempty = CI mempty mempty
-    CI o1 l1 `mappend` CI o2 l2 = CI (o1 `mappend` o2) (l1 `mappend` l2)
 
 instance Eq s => Eq (CI s) where
     (==) = (==) `on` foldedCase
@@ -167,6 +166,9 @@
 -- | Note that @foldCase@ on @'BL.ByteString's@ is only guaranteed to be 
correct for ISO-8859-1 encoded strings!
 instance FoldCase BL.ByteString where foldCase = BL.map toLower8
 
+-- | Note that @foldCase@ on @'BL.ByteString's@ is only guaranteed to be 
correct for ISO-8859-1 encoded strings!
+instance FoldCase BS.ShortByteString where foldCase = BS.map toLower8
+
 instance FoldCase Char where
     foldCase     = toLower
     foldCaseList = TL.unpack . TL.toCaseFold . TL.pack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/case-insensitive-1.2.1.0/Data/CaseInsensitive/Unsafe.hs 
new/case-insensitive-1.2.2.0/Data/CaseInsensitive/Unsafe.hs
--- old/case-insensitive-1.2.1.0/Data/CaseInsensitive/Unsafe.hs 2019-05-05 
06:35:04.000000000 +0200
+++ new/case-insensitive-1.2.2.0/Data/CaseInsensitive/Unsafe.hs 2001-09-09 
03:46:40.000000000 +0200
@@ -1,8 +1,4 @@
-{-# LANGUAGE CPP, NoImplicitPrelude #-}
-
-#if __GLASGOW_HASKELL__ >= 704
-{-# LANGUAGE Unsafe #-}
-#endif
+{-# LANGUAGE NoImplicitPrelude, Unsafe #-}
 
 -----------------------------------------------------------------------------
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.1.0/Data/CaseInsensitive.hs 
new/case-insensitive-1.2.2.0/Data/CaseInsensitive.hs
--- old/case-insensitive-1.2.1.0/Data/CaseInsensitive.hs        2019-05-05 
06:35:04.000000000 +0200
+++ new/case-insensitive-1.2.2.0/Data/CaseInsensitive.hs        2001-09-09 
03:46:40.000000000 +0200
@@ -1,8 +1,4 @@
-{-# LANGUAGE CPP, NoImplicitPrelude #-}
-
-#if __GLASGOW_HASKELL__ >= 702
-{-# LANGUAGE Trustworthy #-}
-#endif
+{-# LANGUAGE NoImplicitPrelude, Trustworthy #-}
 
 -----------------------------------------------------------------------------
 -- |
@@ -27,8 +23,8 @@
                             , mk
                             , original
                             , foldedCase
-                            , map
-                            , traverse
+                            , Data.CaseInsensitive.Internal.map
+                            , Data.CaseInsensitive.Internal.traverse
                             , FoldCase(foldCase)
                             ) where
 import Data.CaseInsensitive.Internal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.1.0/README.markdown 
new/case-insensitive-1.2.2.0/README.markdown
--- old/case-insensitive-1.2.1.0/README.markdown        2019-05-05 
06:35:04.000000000 +0200
+++ new/case-insensitive-1.2.2.0/README.markdown        2001-09-09 
03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 
[![Hackage](https://img.shields.io/hackage/v/case-insensitive.svg)](https://hackage.haskell.org/package/case-insensitive)
-[![Build 
Status](https://travis-ci.org/basvandijk/case-insensitive.svg)](https://travis-ci.org/basvandijk/case-insensitive)
+[![Build 
Status](https://github.com/basvandijk/case-insensitive/actions/workflows/main.yml/badge.svg)](https://github.com/basvandijk/case-insensitive/actions/workflows/main.yml)
 
 The module `Data.CaseInsensitive` provides the `CI` type constructor
 which can be parameterised by a string-like type like: `String`,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.1.0/bench/bench.hs 
new/case-insensitive-1.2.2.0/bench/bench.hs
--- old/case-insensitive-1.2.1.0/bench/bench.hs 2019-05-05 06:35:04.000000000 
+0200
+++ new/case-insensitive-1.2.2.0/bench/bench.hs 2001-09-09 03:46:40.000000000 
+0200
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 
 module Main ( main) where
@@ -8,11 +7,6 @@
 import qualified Data.CaseInsensitive as CI ( mk )
 import qualified NoClass              as NC ( mk )
 
-#if !MIN_VERSION_bytestring(0,10,0)
-import Control.DeepSeq ( NFData )
-instance NFData ByteString
-#endif
-
 main :: IO ()
 main = do
   bs <- B.readFile "pg2189.txt"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.1.0/case-insensitive.cabal 
new/case-insensitive-1.2.2.0/case-insensitive.cabal
--- old/case-insensitive-1.2.1.0/case-insensitive.cabal 2019-05-05 
06:35:04.000000000 +0200
+++ new/case-insensitive-1.2.2.0/case-insensitive.cabal 2001-09-09 
03:46:40.000000000 +0200
@@ -1,73 +1,90 @@
-name:          case-insensitive
-version:       1.2.1.0
-cabal-version: >=1.8
-build-type:    Simple
-license:       BSD3
-license-file:  LICENSE
-copyright:     2011 Bas van Dijk
-author:        Bas van Dijk
-maintainer:    Bas van Dijk <[email protected]>
-homepage:      https://github.com/basvandijk/case-insensitive
-bug-reports:   https://github.com/basvandijk/case-insensitive/issues
-category:      Data, Text
-synopsis:      Case insensitive string comparison
-description:   The module @Data.CaseInsensitive@ provides the 'CI' type
-               constructor which can be parameterised by a string-like
-               type like: 'String', 'ByteString', 'Text',
-               etc.. Comparisons of values of the resulting type will be
-               insensitive to cases.
+cabal-version: 3.0
+name: case-insensitive
+version: 1.2.2.0
+build-type: Simple
+license: BSD-3-Clause
+license-file: LICENSE
+copyright: 2011 Bas van Dijk
+author: Bas van Dijk
+maintainer: Bas van Dijk <[email protected]>
+homepage: https://github.com/basvandijk/case-insensitive
+bug-reports: https://github.com/basvandijk/case-insensitive/issues
+category: Data, Text
+synopsis: Case insensitive string comparison
+description:
+  The module @Data.CaseInsensitive@ provides the 'CI' type
+  constructor which can be parameterised by a string-like
+  type like: 'String', 'ByteString', 'Text',
+  etc.. Comparisons of values of the resulting type will be
+  insensitive to cases.
+
 tested-with:
-  GHC==7.0.4,
-  GHC==7.2.2
-  GHC==7.4.2,
-  GHC==7.6.3,
-  GHC==7.8.4,
-  GHC==7.10.3,
-  GHC==8.0.1
+  ghc ==9.10
+  ghc ==9.12
+  ghc ==9.14
+  ghc ==9.2
+  ghc ==9.4
+  ghc ==9.6
+  ghc ==9.8
+
+extra-doc-files:
+  CHANGELOG
+  README.markdown
 
-extra-source-files: README.markdown CHANGELOG pg2189.txt
+extra-source-files:
+  pg2189.txt
 
 source-repository head
-  Type:     git
-  Location: git://github.com/basvandijk/case-insensitive.git
+  type: git
+  location: https://github.com/basvandijk/case-insensitive.git
 
-Library
+library
+  default-language: Haskell2010
   ghc-options: -Wall
-  build-depends: base       >= 3 && < 5
-               , bytestring >= 0.9
-               , text       >= 0.3
-               , deepseq    >= 1.1
-               , hashable   >= 1.0
-  if !impl(ghc >= 8.0)
-    build-depends: semigroups >= 0.18
-  exposed-modules: Data.CaseInsensitive, Data.CaseInsensitive.Unsafe
+  build-depends:
+    base >=4.16 && <5,
+    bytestring >=0.11.3 && <0.13,
+    deepseq >=1.4.6 && <1.6,
+    hashable >=1.4.0.1 && <1.6,
+    text >=2.0 && <2.2,
+
+  if impl(ghc)
+    build-depends: template-haskell >=2.2 && <3
+  exposed-modules:
+    Data.CaseInsensitive
+    Data.CaseInsensitive.Unsafe
+
   other-modules: Data.CaseInsensitive.Internal
 
 test-suite test-case-insensitive
-  type:           exitcode-stdio-1.0
-  main-is:        test.hs
+  default-language: Haskell2010
+  type: exitcode-stdio-1.0
+  main-is: test.hs
   hs-source-dirs: test
-
-  build-depends: case-insensitive
-               , base                 >= 3 && < 5
-               , bytestring           >= 0.9
-               , text                 >= 0.3
-               , HUnit                >= 1.2.2
-               , test-framework       >= 0.2.4
-               , test-framework-hunit >= 0.2.4
+  build-depends:
+    base >=3 && <5,
+    bytestring >=0.9,
+    case-insensitive,
+    HUnit >=1.2.2,
+    tasty ^>=1.5,
+    tasty-hunit ^>=0.10,
+    template-haskell >=2.2,
+    text >=0.3,
 
   ghc-options: -Wall
 
 benchmark bench-case-insensitive
-  type:           exitcode-stdio-1.0
-  main-is:        bench.hs
-  other-modules:  NoClass
+  default-language: Haskell2010
+  type: exitcode-stdio-1.0
+  main-is: bench.hs
+  other-modules: NoClass
   hs-source-dirs: bench
+  ghc-options:
+    -Wall
 
-  ghc-options:    -Wall -O2
-
-  build-depends: case-insensitive
-               , base       >= 3 && < 5
-               , bytestring >= 0.9
-               , criterion  >= 0.6.1
-               , deepseq    >= 1.1
+  build-depends:
+    base >=3 && <5,
+    bytestring >=0.9,
+    case-insensitive,
+    criterion >=0.6.1,
+    deepseq >=1.1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.1.0/test/test.hs 
new/case-insensitive-1.2.2.0/test/test.hs
--- old/case-insensitive-1.2.1.0/test/test.hs   2019-05-05 06:35:04.000000000 
+0200
+++ new/case-insensitive-1.2.2.0/test/test.hs   2001-09-09 03:46:40.000000000 
+0200
@@ -1,6 +1,8 @@
+{-# LANGUAGE TemplateHaskell #-}
 module Main ( main ) where
 
 import           Data.ByteString                    ( ByteString )
+import           Data.ByteString.Short              ( toShort )
 import qualified Data.ByteString.Char8      as BC8  ( pack, map )
 import qualified Data.ByteString.Lazy       as Lazy ( ByteString )
 import qualified Data.ByteString.Lazy.Char8 as BLC8 ( pack, map )
@@ -10,12 +12,12 @@
 import qualified Data.Text                  as T    ( pack, toUpper )
 import qualified Data.Text.Lazy             as Lazy ( Text )
 import qualified Data.Text.Lazy             as TL   ( pack, toUpper )
-import           Test.Framework                     ( defaultMain, testGroup )
-import           Test.Framework.Providers.HUnit     ( testCase )
-import           Test.HUnit                         ( assertEqual )
+import           Test.Tasty
+import           Test.Tasty.HUnit
+import           Language.Haskell.TH.Syntax         ( lift )
 
 main :: IO ()
-main = defaultMain
+main = defaultMain $ testGroup "case-insensitive"
   [ testGroup "ASCII"
     [ testCase "String"          $ assertEqual "" (CI.mk                    
asciiStr)
                                                   (CI.mk (     map toUpper  
asciiStr))
@@ -23,6 +25,8 @@
                                                   (CI.mk ( BC8.map toUpper  
asciiBs))
     , testCase "Lazy.ByteString" $ assertEqual "" (CI.mk                    
asciiLBs)
                                                   (CI.mk (BLC8.map toUpper  
asciiLBs))
+    , testCase "ShortByteString" $ assertEqual "" (CI.mk           (toShort 
asciiBs))
+                                                  (CI.mk (toShort (BC8.map 
toUpper asciiBs)))
     , testCase "Text"            $ assertEqual "" (CI.mk                    
asciiTxt)
                                                   (CI.mk (       T.toUpper  
asciiTxt))
     , testCase "Lazy.Text"       $ assertEqual "" (CI.mk                    
asciiLTxt)
@@ -40,6 +44,10 @@
     , testCase "Lazy.Text"       $ assertEqual "" (CI.mk                    
iso_8859_1LTxt)
                                                   (CI.mk (      TL.toUpper  
iso_8859_1LTxt))
     ]
+  , testGroup "Lift Instance"
+    [ testCase "String"          $ assertEqual "" $(lift $ CI.mk "aBc")
+                                                  (CI.mk "abc")
+    ]
   ]
 
 

Reply via email to