Hello community,

here is the log from the commit of package rpmlint for openSUSE:Factory checked 
in at 2019-02-08 12:08:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmlint (Old)
 and      /work/SRC/openSUSE:Factory/.rpmlint.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpmlint"

Fri Feb  8 12:08:53 2019 rev:313 rq:670708 version:1.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmlint/rpmlint.changes  2019-01-26 
22:19:48.334982493 +0100
+++ /work/SRC/openSUSE:Factory/.rpmlint.new.28833/rpmlint.changes       
2019-02-08 12:08:59.117568672 +0100
@@ -1,0 +2,10 @@
+Sat Feb  2 08:23:39 UTC 2019 - Dirk Mueller <[email protected]>
+
+- add 0001-ZipCheck-Also-ignore-RuntimeError.patch (bscs#1124054)
+
+-------------------------------------------------------------------
+Fri Feb  1 08:42:23 UTC 2019 - Axel Braun <[email protected]>
+
+- added user/group tryton (GNU Health)
+
+-------------------------------------------------------------------

New:
----
  0001-ZipCheck-Also-ignore-RuntimeError.patch

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

Other differences:
------------------
++++++ rpmlint.spec ++++++
--- /var/tmp/diff_new_pack.24bkhn/_old  2019-02-08 12:09:00.657568094 +0100
+++ /var/tmp/diff_new_pack.24bkhn/_new  2019-02-08 12:09:00.657568094 +0100
@@ -48,6 +48,7 @@
 Patch29:        rpmgroup-checks.diff
 Patch30:        devel-provide-is-devel-package.diff
 Patch31:        only-reg-files-are-scripts.diff
+Patch32:        0001-ZipCheck-Also-ignore-RuntimeError.patch
 Patch40:        no-badness-return.diff
 Patch41:        suse-shlib-devel-dependency.diff
 Patch49:        extend-suse-conffiles-check.diff

++++++ 0001-ZipCheck-Also-ignore-RuntimeError.patch ++++++
>From c5dd20d7e48f4c441fe1cc3f451b184d6b31c074 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <[email protected]>
Date: Sat, 2 Feb 2019 09:19:45 +0100
Subject: [PATCH] ZipCheck: Also ignore RuntimeError

When there is a unpack error, we need to catch it. Potential
reasons are : NotImplementedError (which happens on compression
type issues) or RuntimeError (e.g for encrypted zip files).

This issue is already fixed in master in a non-backportable
way, so a new fix has been done on stable.
---
 ZipCheck.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ZipCheck.py b/ZipCheck.py
index a6f927a..4da6b06 100644
--- a/ZipCheck.py
+++ b/ZipCheck.py
@@ -43,7 +43,7 @@ class ZipCheck(AbstractCheck.AbstractCheck):
                     badcrc = z.testzip()
                     if badcrc:
                         printError(pkg, 'bad-crc-in-zip', badcrc, fname)
-                except zipfile.error:
+                except (RuntimeError, zipfile.error):
                     printWarning(pkg, 'unable-to-read-zip', '%s: %s' %
                                  (fname, sys.exc_info()[1]))
                 else:
-- 
2.20.1

++++++ config ++++++
--- /var/tmp/diff_new_pack.24bkhn/_old  2019-02-08 12:09:00.797568041 +0100
+++ /var/tmp/diff_new_pack.24bkhn/_new  2019-02-08 12:09:00.797568041 +0100
@@ -488,6 +488,7 @@
     'tor',
     'tox',
     'trusted',
+    'tryton',
     'ts-shell',
     'tss',
     'tty',
@@ -672,6 +673,7 @@
     'tomcat4',
     'tor',
     'toxcmd',
+    'tryton',
     'tss',
     'ulogd',
     'upsd',


Reply via email to