Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-cryptohash-sha256 for 
openSUSE:Factory checked in at 2021-11-11 21:36:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-cryptohash-sha256 (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-cryptohash-sha256.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-cryptohash-sha256"

Thu Nov 11 21:36:25 2021 rev:16 rq:930322 version:0.11.102.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-cryptohash-sha256/ghc-cryptohash-sha256.changes  
    2021-06-23 17:38:26.272488479 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-cryptohash-sha256.new.1890/ghc-cryptohash-sha256.changes
    2021-11-11 21:36:37.760897725 +0100
@@ -1,0 +2,7 @@
+Tue Oct 12 11:34:17 UTC 2021 - [email protected]
+
+- Update cryptohash-sha256 to version 0.11.102.1.
+  Upstream has not updated the file "changelog.md" since the last
+  release.
+
+-------------------------------------------------------------------

Old:
----
  cryptohash-sha256-0.11.102.0.tar.gz
  cryptohash-sha256.cabal

New:
----
  cryptohash-sha256-0.11.102.1.tar.gz

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

Other differences:
------------------
++++++ ghc-cryptohash-sha256.spec ++++++
--- /var/tmp/diff_new_pack.2zMZHP/_old  2021-11-11 21:36:38.204898048 +0100
+++ /var/tmp/diff_new_pack.2zMZHP/_new  2021-11-11 21:36:38.208898052 +0100
@@ -19,13 +19,12 @@
 %global pkg_name cryptohash-sha256
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.11.102.0
+Version:        0.11.102.1
 Release:        0
 Summary:        Fast, pure and practical SHA-256 implementation
 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/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
@@ -91,7 +90,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ cryptohash-sha256-0.11.102.0.tar.gz -> 
cryptohash-sha256-0.11.102.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cryptohash-sha256-0.11.102.0/cryptohash-sha256.cabal 
new/cryptohash-sha256-0.11.102.1/cryptohash-sha256.cabal
--- old/cryptohash-sha256-0.11.102.0/cryptohash-sha256.cabal    2001-09-09 
03:46:40.000000000 +0200
+++ new/cryptohash-sha256-0.11.102.1/cryptohash-sha256.cabal    2001-09-09 
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:       2.0
 name:                cryptohash-sha256
-version:             0.11.102.0
+version:             0.11.102.1
 
 synopsis:            Fast, pure and practical SHA-256 implementation
 description: {
@@ -56,8 +56,11 @@
                    , GHC == 8.2.2
                    , GHC == 8.4.4
                    , GHC == 8.6.5
-                   , GHC == 8.8.3
-                   , GHC == 8.10.1
+                   , GHC == 8.8.4
+                   , GHC == 8.10.4
+                   , GHC == 9.0.1
+                   , GHC == 9.2.0.20210821
+
 
 extra-source-files:  cbits/hs_sha256.h
                      changelog.md
@@ -81,7 +84,7 @@
 
   ghc-options:       -Wall
 
-  build-depends:     base              >= 4.5 && < 4.15
+  build-depends:     base              >= 4.5 && < 4.17
 
   exposed-modules:   Crypto.Hash.SHA256
 
@@ -130,7 +133,7 @@
 
                    , base16-bytestring ^>= 0.1.1 || ^>= 1.0.0
                    , SHA               ^>= 1.6.4
-                   , tasty             ^>= 1.1
+                   , tasty             ^>= 1.4
                    , tasty-quickcheck  ^>= 0.10
                    , tasty-hunit       ^>= 0.10
 
@@ -141,8 +144,10 @@
   main-is:           bench-sha256.hs
   hs-source-dirs:    src-bench
   build-depends:     cryptohash-sha256
-                   , cryptohash-sha256-pure ^>= 0.1.0
                    , SHA               ^>= 1.6.4
                    , base
-                   , bytestring
+                   , bytestring        ^>= 0.10
                    , criterion         ^>= 1.5
+
+  -- not yet public
+  -- build-depends: cryptohash-sha256-pure ^>= 0.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cryptohash-sha256-0.11.102.0/src-bench/bench-sha256.hs 
new/cryptohash-sha256-0.11.102.1/src-bench/bench-sha256.hs
--- old/cryptohash-sha256-0.11.102.0/src-bench/bench-sha256.hs  2001-09-09 
03:46:40.000000000 +0200
+++ new/cryptohash-sha256-0.11.102.1/src-bench/bench-sha256.hs  2001-09-09 
03:46:40.000000000 +0200
@@ -1,12 +1,16 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE BangPatterns #-}
 {-# LANGUAGE PackageImports #-}
 
 import           Criterion.Main
 
 import qualified "cryptohash-sha256"      Crypto.Hash.SHA256        as IUT
-import qualified "cryptohash-sha256-pure" Crypto.Hash.SHA256.Legacy as Pure
 import qualified Data.Digest.Pure.SHA                               as REF
 
+#ifdef VERSION_cryptohash_sha256_pure
+import qualified "cryptohash-sha256-pure" Crypto.Hash.SHA256.Legacy as Pure
+#endif
+
 import qualified Data.ByteString      as B
 import qualified Data.ByteString.Lazy as L
 
@@ -16,11 +20,13 @@
     bs = B.replicate sz 0
     msg = "bs-" ++ show sz
 
+#ifdef VERSION_cryptohash_sha256_pure
 benchSize'Pure :: Int -> Benchmark
 benchSize'Pure sz = bs `seq` bench msg (whnf Pure.hash bs)
   where
     bs = B.replicate sz 0
     msg = "bs-" ++ show sz
+#endif
 
 benchSize'REF :: Int -> Benchmark
 benchSize'REF sz = bs `seq` bench msg (whnf REF.sha256 bs)
@@ -50,6 +56,8 @@
           , L.length lbs64x256  `seq` bench "lbs64x256"  (whnf IUT.hashlazy 
lbs64x256)
           , L.length lbs64x4096 `seq` bench "lbs64x4096" (whnf IUT.hashlazy 
lbs64x4096)
           ]
+
+#ifdef VERSION_cryptohash_sha256_pure
         , bgroup "cryptohash-sha256-pure"
           [ benchSize'Pure 0
           , benchSize'Pure 32
@@ -66,6 +74,7 @@
           , L.length lbs64x256  `seq` bench "lbs64x256"  (whnf Pure.hashlazy 
lbs64x256)
           , L.length lbs64x4096 `seq` bench "lbs64x4096" (whnf Pure.hashlazy 
lbs64x4096)
           ]
+#endif
         , bgroup "SHA"
           [ benchSize'REF 0
           , benchSize'REF 32

Reply via email to