SHA256
1
0
forked from pool/rpmlint

ignore-readelf-ar-error.diff, remove-ghostfile-checks.diff,

fix-diag-sortorder.diff

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=500
This commit is contained in:
Dirk Mueller 2017-09-30 14:55:07 +00:00 committed by Git OBS Bridge
parent 680daa4eb0
commit 50e8456b25
3 changed files with 19 additions and 1 deletions

16
fix-diag-sortorder.diff Normal file
View File

@ -0,0 +1,16 @@
diff --git a/Filter.py b/Filter.py
index a728115..87b4009 100644
--- a/Filter.py
+++ b/Filter.py
@@ -111,8 +111,9 @@ def printDescriptions(reason):
def _diag_sortkey(x):
- xs = x.split()
- return (xs[2], xs[1])
+ xs = x.split(maxsplit=2)
+ # ['game.x86_64:', 'W:', 'call-to-mktemp /usr/games/lib/blub\n']
+ return (xs[2], xs[1], xs[0])
def printAllReasons():

View File

@ -89,7 +89,8 @@ Thu Sep 28 10:40:08 UTC 2017 - dmueller@suse.com
0001-Extend-scm_regex-to-capture-more-SCM-system-files.patch,
0003-Tighten-lib_regex-to-avoid-false-positive-in-python-.patch,
0001-Execute-chroot-tests-also-on-x86-rpms.patch,
ignore-readelf-ar-error.diff, remove-ghostfile-checks.diff
ignore-readelf-ar-error.diff, remove-ghostfile-checks.diff,
fix-diag-sortorder.diff
- drop config.in: unused
- switch to python 3.x

View File

@ -96,6 +96,7 @@ Patch59: 0001-Extend-scm_regex-to-capture-more-SCM-system-files.patch
Patch60: 0003-Tighten-lib_regex-to-avoid-false-positive-in-python-.patch
Patch61: 0001-Execute-chroot-tests-also-on-x86-rpms.patch
Patch62: ignore-readelf-ar-error.diff
Patch63: fix-diag-sortorder.diff
Patch70: rpmlint-all-pie.patch
# BuildArch must at the end. is a bug: https://bugzilla.suse.com/show_bug.cgi?id=926766
BuildArch: noarch