Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-bech32-th for openSUSE:Factory 
checked in at 2021-07-05 22:22:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-bech32-th (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-bech32-th.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-bech32-th"

Mon Jul  5 22:22:38 2021 rev:2 rq:903724 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-bech32-th/ghc-bech32-th.changes      
2020-12-22 11:31:54.277054592 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-bech32-th.new.2625/ghc-bech32-th.changes    
2021-07-05 22:22:52.445771108 +0200
@@ -1,0 +2,9 @@
+Wed Jun 23 08:49:01 UTC 2021 - [email protected]
+
+- Update bech32-th to version 1.1.1.
+  ## 1.1.1 -- 2021-06-11
+
+  + Upgraded CI to build with Cabal 3.4.0.0 and GHC 8.10.4.
+  + Update version constraints for GHC 9.0.1.
+
+-------------------------------------------------------------------

Old:
----
  bech32-th-1.0.2.tar.gz
  bech32-th.cabal

New:
----
  bech32-th-1.1.1.tar.gz

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

Other differences:
------------------
++++++ ghc-bech32-th.spec ++++++
--- /var/tmp/diff_new_pack.ANgFcM/_old  2021-07-05 22:22:53.129765815 +0200
+++ /var/tmp/diff_new_pack.ANgFcM/_new  2021-07-05 22:22:53.133765784 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-bech32-th
 #
-# 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,13 +19,12 @@
 %global pkg_name bech32-th
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.0.2
+Version:        1.1.1
 Release:        0
 Summary:        Template Haskell extensions to the Bech32 library
 License:        Apache-2.0
 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-bech32-devel
 BuildRequires:  ghc-rpm-macros
@@ -52,7 +51,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ bech32-th-1.0.2.tar.gz -> bech32-th-1.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bech32-th-1.0.2/ChangeLog.md 
new/bech32-th-1.1.1/ChangeLog.md
--- old/bech32-th-1.0.2/ChangeLog.md    2020-02-19 03:14:35.000000000 +0100
+++ new/bech32-th-1.1.1/ChangeLog.md    2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,10 @@
 # ChangeLog for `bech32-th`
 
+## 1.1.1 -- 2021-06-11
+
++ Upgraded CI to build with Cabal 3.4.0.0 and GHC 8.10.4.
++ Update version constraints for GHC 9.0.1.
+
 ## 1.0.2 -- 2020-02-19
 
 + Initial release adapted from 
https://github.com/input-output-hk/cardano-wallet
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bech32-th-1.0.2/bech32-th.cabal 
new/bech32-th-1.1.1/bech32-th.cabal
--- old/bech32-th-1.0.2/bech32-th.cabal 2020-02-19 03:14:35.000000000 +0100
+++ new/bech32-th-1.1.1/bech32-th.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:               bech32-th
-version:            1.0.2
+version:            1.1.1
 synopsis:           Template Haskell extensions to the Bech32 library.
 description:        Template Haskell extensions to the Bech32 library, 
including
                     quasi-quoters for compile-time checking of Bech32 string
@@ -20,10 +20,10 @@
   type:     git
   location: https://github.com/input-output-hk/bech32.git
 
-flag werror
-    description: Enable `-Werror`
-    default: False
-    manual: True
+flag release
+  description: Strict compiler warning checks.
+  default: False
+  manual: True
 
 library
   default-language:
@@ -32,15 +32,12 @@
       NoImplicitPrelude
       OverloadedStrings
   ghc-options:
-      -Wall
-      -Wcompat
-      -fwarn-redundant-constraints
-  if (flag(werror))
-    ghc-options:
-      -Werror
+      -Wall -Wcompat -fwarn-redundant-constraints
+  if flag(release)
+    ghc-options: -Werror
   build-depends:
-      base
-    , bech32 >= 1.0.2
+      base >= 4.11.1.0 && < 5
+    , bech32 >= 1.1.1
     , template-haskell
     , text
   hs-source-dirs:
@@ -59,13 +56,12 @@
   hs-source-dirs:
       test
   ghc-options:
-      -threaded -rtsopts -with-rtsopts=-N
       -Wall
-  if (flag(werror))
-    ghc-options:
-      -Werror
+      -threaded -rtsopts -with-rtsopts=-N
+  if flag(release)
+    ghc-options: -Werror
   build-depends:
-      base < 4.14
+      base
     , bech32
     , bech32-th
     , hspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bech32-th-1.0.2/test/Codec/Binary/Bech32/THSpec.hs 
new/bech32-th-1.1.1/test/Codec/Binary/Bech32/THSpec.hs
--- old/bech32-th-1.0.2/test/Codec/Binary/Bech32/THSpec.hs      2020-02-19 
03:14:35.000000000 +0100
+++ new/bech32-th-1.1.1/test/Codec/Binary/Bech32/THSpec.hs      2001-09-09 
03:46:40.000000000 +0200
@@ -1,3 +1,5 @@
+{-# LANGUAGE BangPatterns #-}
+
 module Codec.Binary.Bech32.THSpec
     ( spec
     ) where
@@ -39,9 +41,15 @@
             describe "Parsing invalid human-readable prefixes should fail." $
                 forM_ invalidHumanReadableParts $ \(hrp, expectedError) ->
                     it (show hrp) $
-                        mkHumanReadablePartExp hrp
+                        forceViaShowM (mkHumanReadablePartExp hrp)
                             `shouldThrow` (== expectedError)
 
+forceViaShowM :: (Monad m, Show a) => m a -> m a
+forceViaShowM f = do
+    a <- f
+    let !_ = length (show a)
+    return a
+
 -- | Matches only function application expressions.
 --
 isAppE :: Exp -> Bool

Reply via email to