Hello community,

here is the log from the commit of package rpmlint for openSUSE:Factory checked 
in at 2016-09-01 14:01:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmlint (Old)
 and      /work/SRC/openSUSE:Factory/.rpmlint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpmlint"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmlint/rpmlint.changes  2016-08-05 
18:12:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rpmlint.new/rpmlint.changes     2016-09-01 
14:01:39.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Aug 19 20:50:32 UTC 2016 - [email protected]
+
+- Update some checks to work on both Python 2 and 3
+
+-------------------------------------------------------------------

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

Other differences:
------------------
rpmlint.spec: same change
++++++ libtool-wrapper-check.diff ++++++
--- /var/tmp/diff_new_pack.fA3hto/_old  2016-09-01 14:01:41.000000000 +0200
+++ /var/tmp/diff_new_pack.fA3hto/_new  2016-09-01 14:01:41.000000000 +0200
@@ -20,7 +20,7 @@
  
 +            if is_shell:
 +                count= 0
-+                for l in file(pkgfile.path, "r"):
++                for l in open(pkgfile.path, "r"):
 +                    count = count + 1
 +                    if (l.find("This wrapper script should never be moved out 
of the build directory") != -1):
 +                        printError(pkg, 'libtool-wrapper-in-package', fname)

++++++ script-interpreter-only-for-exec-sc.diff ++++++
--- /var/tmp/diff_new_pack.fA3hto/_old  2016-09-01 14:01:41.000000000 +0200
+++ /var/tmp/diff_new_pack.fA3hto/_new  2016-09-01 14:01:41.000000000 +0200
@@ -16,7 +16,7 @@
                      elif interpreter or mode_is_exec or 
script_regex.search(f):
                          if interpreter:
 -                            if not interpreter_regex.search(interpreter):
-+                            if mode & 0111 != 0 and not 
interpreter_regex.search(interpreter):
++                            if mode & 0o111 != 0 and not 
interpreter_regex.search(interpreter):
                                  printError(pkg, 'wrong-script-interpreter',
                                             f, interpreter)
                          elif not nonexec_file and not \

++++++ suse-sysv-init-checks.diff ++++++
--- /var/tmp/diff_new_pack.fA3hto/_old  2016-09-01 14:01:41.000000000 +0200
+++ /var/tmp/diff_new_pack.fA3hto/_new  2016-09-01 14:01:41.000000000 +0200
@@ -28,9 +28,9 @@
          initscript_list = []
 +
 +        # check chkconfig call in %post and %preun
-+        postin = Pkg.b2s(pkg[rpm.RPMTAG_POSTIN]) or 
pkg.scriptprog(rpm.RPMTAG_POSTINPROG)
-+        preun = Pkg.b2s(pkg[rpm.RPMTAG_PREUN]) or 
pkg.scriptprog(rpm.RPMTAG_PREUNPROG)
-+        postun = Pkg.b2s(pkg[rpm.RPMTAG_POSTUN]) or 
pkg.scriptprog(rpm.RPMTAG_POSTUNPROG)
++        postin = pkg[rpm.RPMTAG_POSTIN] or 
pkg.scriptprog(rpm.RPMTAG_POSTINPROG)
++        preun = pkg[rpm.RPMTAG_PREUN] or pkg.scriptprog(rpm.RPMTAG_PREUNPROG)
++        postun = pkg[rpm.RPMTAG_POSTUN] or 
pkg.scriptprog(rpm.RPMTAG_POSTUNPROG)
 +
          for fname, pkgfile in pkg.files().items():
  


Reply via email to