Script 'mail_helper' called by obssrc
Hello community,

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

Package is "ghc-zip-archive"

Thu Oct 13 15:44:23 2022 rev:21 rq:1009723 version:0.4.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-zip-archive/ghc-zip-archive.changes  
2022-08-01 21:29:13.097453230 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-zip-archive.new.2275/ghc-zip-archive.changes    
    2022-10-13 15:45:00.471073222 +0200
@@ -1,0 +2,9 @@
+Mon Sep 26 00:39:14 UTC 2022 - Peter Simons <psim...@suse.com>
+
+- Update zip-archive to version 0.4.2.2.
+  zip-archive 0.4.2.2
+
+    * Use `command -v` before trying `which` in the test suite (#62).
+      `command` is a bash builtin, but for busybox we'll need `which`.
+
+-------------------------------------------------------------------

Old:
----
  zip-archive-0.4.2.1.tar.gz

New:
----
  zip-archive-0.4.2.2.tar.gz

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

Other differences:
------------------
++++++ ghc-zip-archive.spec ++++++
--- /var/tmp/diff_new_pack.Spwn7m/_old  2022-10-13 15:45:01.075074401 +0200
+++ /var/tmp/diff_new_pack.Spwn7m/_new  2022-10-13 15:45:01.075074401 +0200
@@ -19,7 +19,7 @@
 %global pkg_name zip-archive
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.2.1
+Version:        0.4.2.2
 Release:        0
 Summary:        Library for creating and modifying zip archives
 License:        BSD-3-Clause

++++++ zip-archive-0.4.2.1.tar.gz -> zip-archive-0.4.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zip-archive-0.4.2.1/changelog 
new/zip-archive-0.4.2.2/changelog
--- old/zip-archive-0.4.2.1/changelog   2022-03-03 01:29:35.000000000 +0100
+++ new/zip-archive-0.4.2.2/changelog   2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,8 @@
+zip-archive 0.4.2.2
+
+  * Use `command -v` before trying `which` in the test suite (#62).
+    `command` is a bash builtin, but for busybox we'll need `which`.
+
 zip-archive 0.4.2.1
 
   * Fix Windows build regression (#61).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zip-archive-0.4.2.1/tests/test-zip-archive.hs 
new/zip-archive-0.4.2.2/tests/test-zip-archive.hs
--- old/zip-archive-0.4.2.1/tests/test-zip-archive.hs   2022-03-03 
01:17:35.000000000 +0100
+++ new/zip-archive-0.4.2.2/tests/test-zip-archive.hs   2001-09-09 
03:46:40.000000000 +0200
@@ -1,11 +1,12 @@
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 {-# LANGUAGE CPP #-}
+{-# LANGUAGE ScopedTypeVariables #-}
 -- Test suite for Codec.Archive.Zip
 -- runghc Test.hs
 
 import Codec.Archive.Zip
 import Control.Monad (unless)
-import Control.Exception (try)
+import Control.Exception (try, catch, SomeException)
 import System.Directory hiding (isSymbolicLink)
 import Test.HUnit.Base
 import Test.HUnit.Text
@@ -51,7 +52,8 @@
 main :: IO Counts
 main = withTempDirectory "." "test-zip-archive." $ \tmpDir -> do
 #ifndef _WINDOWS
-  ec <- rawSystem "which" ["unzip"]
+  ec <- catch (rawSystem "command" ["-v", "unzip"])
+         (\(_ :: SomeException) -> rawSystem "which" ["unzip"])
   let unzipInPath = ec == ExitSuccess
   unless unzipInPath $
     putStrLn "\n\nunzip is not in path; skipping testArchiveAndUnzip\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zip-archive-0.4.2.1/zip-archive.cabal 
new/zip-archive-0.4.2.2/zip-archive.cabal
--- old/zip-archive-0.4.2.1/zip-archive.cabal   2022-03-03 01:29:00.000000000 
+0100
+++ new/zip-archive-0.4.2.2/zip-archive.cabal   2001-09-09 03:46:40.000000000 
+0200
@@ -1,5 +1,5 @@
 Name:                zip-archive
-Version:             0.4.2.1
+Version:             0.4.2.2
 Cabal-Version:       2.0
 Build-type:          Simple
 Synopsis:            Library for creating and modifying zip archives.

Reply via email to