Hello community,

here is the log from the commit of package rpmlint for openSUSE:Factory checked 
in at 2018-07-04 23:55:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmlint (Old)
 and      /work/SRC/openSUSE:Factory/.rpmlint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpmlint"

Wed Jul  4 23:55:03 2018 rev:297 rq:620480 version:1.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmlint/rpmlint-tests.changes    2018-05-10 
15:44:49.975306729 +0200
+++ /work/SRC/openSUSE:Factory/.rpmlint.new/rpmlint-tests.changes       
2018-07-04 23:55:19.943878788 +0200
@@ -1,0 +2,12 @@
+Tue Jul 03 12:53:18 UTC 2018 - [email protected]
+
+- Update to version 84.87+git20180703.88daa4e:
+  * Adjust order of output as well
+
+-------------------------------------------------------------------
+Tue Jul 03 12:45:14 UTC 2018 - [email protected]
+
+- Update to version 84.87+git20180703.03176da:
+  * adjust reference testoutput for removal of badness
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/rpmlint/rpmlint.changes  2018-06-22 
13:14:56.868006540 +0200
+++ /work/SRC/openSUSE:Factory/.rpmlint.new/rpmlint.changes     2018-07-04 
23:55:19.975878752 +0200
@@ -1,0 +2,19 @@
+Tue Jul  3 14:09:19 UTC 2018 - [email protected]
+
+- Add update-magic-values-python-37.patch
+    Neccessary for update of Python to 3.7
+    https://github.com/rpm-software-management/rpmlint/commit/52b715763217
+
+-------------------------------------------------------------------
+Tue Jul 03 12:30:20 UTC 2018 - [email protected]
+
+- Update rpmlint-checks to version master:
+  * New file 5.33 does identify pie executables now (bsc#1097339)
+- add 0001-Fix-compatibility-with-file-5.33.patch
+
+-------------------------------------------------------------------
+Mon Jul  2 10:01:36 UTC 2018 - [email protected]
+
+- Add 'sogo' user and group (used in server:SOGo) 
+
+-------------------------------------------------------------------

Old:
----
  rpmlint-tests-84.87+git20180220.6f1f0aa.tar.xz

New:
----
  0001-Fix-compatibility-with-file-5.33.patch
  rpmlint-tests-84.87+git20180703.88daa4e.tar.xz
  update-magic-values-python-37.patch

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

Other differences:
------------------
++++++ rpmlint-tests.spec ++++++
--- /var/tmp/diff_new_pack.ONhkJh/_old  2018-07-04 23:55:21.507877063 +0200
+++ /var/tmp/diff_new_pack.ONhkJh/_new  2018-07-04 23:55:21.515877053 +0200
@@ -24,7 +24,7 @@
 BuildRequires:  rpmlint-mini
 
 Name:           rpmlint-tests
-Version:        84.87+git20180220.6f1f0aa
+Version:        84.87+git20180703.88daa4e
 Release:        0
 Summary:        rpmlint regression tests
 License:        SUSE-Public-Domain

++++++ rpmlint.spec ++++++
--- /var/tmp/diff_new_pack.ONhkJh/_old  2018-07-04 23:55:21.531877036 +0200
+++ /var/tmp/diff_new_pack.ONhkJh/_new  2018-07-04 23:55:21.535877031 +0200
@@ -90,6 +90,8 @@
 Patch72:        rpmlint-slpp-NUM-NUM.patch
 Patch73:        0001-Binariescheck-Check-for-chroot-chdir-on-ARM-PPC.patch
 Patch74:        0001-Always-import-XDG-desktop-files-as-utf8.patch
+Patch75:        0001-Fix-compatibility-with-file-5.33.patch
+Patch76:        update-magic-values-python-37.patch
 BuildRequires:  obs-service-format_spec_file
 BuildRequires:  python3-flake8
 BuildRequires:  python3-pytest

++++++ 0001-Fix-compatibility-with-file-5.33.patch ++++++
>From 6497ac4806c2178a19d23203016cbdb6f7f45825 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <[email protected]>
Date: Tue, 3 Jul 2018 14:24:01 +0200
Subject: [PATCH] Fix compatibility with file 5.33+

In file 5.33 the pkgfile magic output for pie executables changed
from

    ELF 64-bit LSB shared object

to

    ELF 64-bit LSB pie executable x86-64

So we need to treat "pie executable" as an equivalent file magic
type for the purpose of PIE executable detection.
---
 BinariesCheck.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Index: rpmlint-rpmlint-1.10/BinariesCheck.py
===================================================================
--- rpmlint-rpmlint-1.10.orig/BinariesCheck.py
+++ rpmlint-rpmlint-1.10/BinariesCheck.py
@@ -525,6 +525,7 @@ class BinariesCheck(AbstractCheck.Abstra
 
             is_exec = 'executable' in pkgfile.magic
             is_shobj = 'shared object' in pkgfile.magic
+            is_pie_exec = 'pie executable' in pkgfile.magic
 
             if not is_exec and not is_shobj:
                 continue
@@ -542,7 +543,8 @@ class BinariesCheck(AbstractCheck.Abstra
                 if ocaml_mixed_regex.search(bin_info.tail):
                     printWarning(pkg, 'ocaml-mixed-executable', fname)
 
-                if not is_shobj and pie_exec_re and pie_exec_re.search(fname):
+                if ((not is_shobj and not is_pie_exec) and
+                        pie_exec_re and pie_exec_re.search(fname)):
                     printError(pkg, 'non-position-independent-executable',
                                fname)
                 if not is_shobj:
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ONhkJh/_old  2018-07-04 23:55:21.623876934 +0200
+++ /var/tmp/diff_new_pack.ONhkJh/_new  2018-07-04 23:55:21.623876934 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
             <param 
name="url">https://github.com/openSUSE/rpmlint-tests.git</param>
-          <param 
name="changesrevision">f4dfbdc2cc367245537df410353a64d67cbcc519</param></service><service
 name="tar_scm">
+          <param 
name="changesrevision">88daa4ecc60c092a31c0d3839ef936ddc16503ff</param></service><service
 name="tar_scm">
             <param 
name="url">https://github.com/openSUSE/rpmlint-checks.git</param>
-          <param 
name="changesrevision">b8bbedf5f1bdfae4e9a50253abf09f81be4a55e4</param></service></servicedata>
\ No newline at end of file
+          <param 
name="changesrevision">4015553df03d74e0908c9f9acdb586c5dbfeb37c</param></service></servicedata>
\ No newline at end of file

++++++ config ++++++
--- /var/tmp/diff_new_pack.ONhkJh/_old  2018-07-04 23:55:21.639876917 +0200
+++ /var/tmp/diff_new_pack.ONhkJh/_new  2018-07-04 23:55:21.639876917 +0200
@@ -468,6 +468,7 @@
     'siproxd',
     '_sks',
     'snort',
+    'sogo',
     'squid',
     'sshd',
     'suse-ncc',
@@ -650,6 +651,7 @@
     'siproxd',
     '_sks',
     'snort',
+    'sogo',
     'squid',
     'sshd',
     'statd',

++++++ rpmlint-checks-master.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rpmlint-checks-master/CheckSUIDPermissions.py 
new/rpmlint-checks-master/CheckSUIDPermissions.py
--- old/rpmlint-checks-master/CheckSUIDPermissions.py   2018-05-16 
00:21:00.000000000 +0200
+++ new/rpmlint-checks-master/CheckSUIDPermissions.py   2018-07-03 
14:28:05.000000000 +0200
@@ -144,7 +144,8 @@
                 if type == 0o10 and mode & 0o111:
                     # pie binaries have 'shared object' here
                     if (pkgfile.magic.startswith('ELF ') and
-                            'shared object' not in pkgfile.magic):
+                            ('shared object' not in pkgfile.magic) and
+                            ('pie executable' not in pkgfile.magic)):
                         printError(pkg, 'non-position-independent-executable',
                                    f)
 
@@ -181,7 +182,8 @@
                         printWarning(pkg, 'permissions-directory-setuid-bit', 
msg)
 
                     if type == 0o10:
-                        if 'shared object' not in pkgfile.magic:
+                        if ('shared object' not in pkgfile.magic and
+                                'pie executable' not in pkgfile.magic):
                             printError(pkg, 
'non-position-independent-executable', f)
 
                 if mode & 0o2:

++++++ rpmlint-tests-84.87+git20180220.6f1f0aa.tar.xz -> 
rpmlint-tests-84.87+git20180703.88daa4e.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rpmlint-tests-84.87+git20180220.6f1f0aa/tests/shlib1.ref 
new/rpmlint-tests-84.87+git20180703.88daa4e/tests/shlib1.ref
--- old/rpmlint-tests-84.87+git20180220.6f1f0aa/tests/shlib1.ref        
2018-02-20 15:13:15.000000000 +0100
+++ new/rpmlint-tests-84.87+git20180703.88daa4e/tests/shlib1.ref        
2018-07-03 14:52:52.000000000 +0200
@@ -1,7 +1,7 @@
+shlib1: W: library-without-ldconfig-postin /usr/lib/libfoo-2.so
+shlib1: W: library-without-ldconfig-postin /usr/lib/libfoo.so.1
+shlib1: W: library-without-ldconfig-postun /usr/lib/libfoo-2.so
+shlib1: W: library-without-ldconfig-postun /usr/lib/libfoo.so.1
 shlib1: W: unstripped-binary-or-object /usr/lib/libfoo-2.so
 shlib1: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/libfoo.so
-shlib1: E: library-without-ldconfig-postin (Badness: 300) /usr/lib/libfoo-2.so
-shlib1: E: library-without-ldconfig-postin (Badness: 300) /usr/lib/libfoo.so.1
-shlib1: E: library-without-ldconfig-postun (Badness: 300) /usr/lib/libfoo-2.so
-shlib1: E: library-without-ldconfig-postun (Badness: 300) /usr/lib/libfoo.so.1
-1 packages and 0 specfiles checked; 5 errors, 1 warnings.
+1 packages and 0 specfiles checked; 1 errors, 5 warnings.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rpmlint-tests-84.87+git20180220.6f1f0aa/tests/shlib2-devel.ref 
new/rpmlint-tests-84.87+git20180703.88daa4e/tests/shlib2-devel.ref
--- old/rpmlint-tests-84.87+git20180220.6f1f0aa/tests/shlib2-devel.ref  
2018-02-20 15:13:15.000000000 +0100
+++ new/rpmlint-tests-84.87+git20180703.88daa4e/tests/shlib2-devel.ref  
2018-07-03 14:52:52.000000000 +0200
@@ -1,9 +1,9 @@
+shlib2-devel: W: library-without-ldconfig-postin /usr/lib/libfoo-2.so
+shlib2-devel: W: library-without-ldconfig-postin /usr/lib/libfoo.so.1
+shlib2-devel: W: library-without-ldconfig-postun /usr/lib/libfoo-2.so
+shlib2-devel: W: library-without-ldconfig-postun /usr/lib/libfoo.so.1
 shlib2-devel: W: no-dependency-on shlib2*/shlib2-libs/libshlib2*
 shlib2-devel: W: non-devel-file-in-devel-package /usr/lib/libfoo-2.so
 shlib2-devel: W: non-devel-file-in-devel-package /usr/lib/libfoo.so.1
 shlib2-devel: W: unstripped-binary-or-object /usr/lib/libfoo-2.so
-shlib2-devel: E: library-without-ldconfig-postin (Badness: 300) 
/usr/lib/libfoo-2.so
-shlib2-devel: E: library-without-ldconfig-postin (Badness: 300) 
/usr/lib/libfoo.so.1
-shlib2-devel: E: library-without-ldconfig-postun (Badness: 300) 
/usr/lib/libfoo-2.so
-shlib2-devel: E: library-without-ldconfig-postun (Badness: 300) 
/usr/lib/libfoo.so.1
-1 packages and 0 specfiles checked; 4 errors, 4 warnings.
+1 packages and 0 specfiles checked; 0 errors, 8 warnings.

++++++ update-magic-values-python-37.patch ++++++
>From 52b715763217bbc1cfcad9bba8e6a446e820690e Mon Sep 17 00:00:00 2001
From: Dirk Mueller <[email protected]>
Date: Tue, 13 Feb 2018 13:42:27 +0100
Subject: [PATCH] Update Magic values for Python 3.7 (Fixes #123)

---
 FilesCheck.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/FilesCheck.py b/FilesCheck.py
index 2ece474..232a918 100644
--- a/FilesCheck.py
+++ b/FilesCheck.py
@@ -331,7 +331,7 @@ def peek(filename, pkg, length=1024):
     '3.4': [3310],
     '3.5': [3350, 3351],  # 3350 for < 3.5.2
     '3.6': [3379],
-    '3.7': [3390],
+    '3.7': [3390, 3391, 3392, 3393],
 }
 
 

Reply via email to