Hello community, here is the log from the commit of package rpmlint for openSUSE:Factory checked in at 2019-01-26 22:19:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rpmlint (Old) and /work/SRC/openSUSE:Factory/.rpmlint.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpmlint" Sat Jan 26 22:19:45 2019 rev:312 rq:668194 version:1.11 Changes: -------- --- /work/SRC/openSUSE:Factory/rpmlint/rpmlint-tests.changes 2018-07-04 23:55:19.943878788 +0200 +++ /work/SRC/openSUSE:Factory/.rpmlint.new.28833/rpmlint-tests.changes 2019-01-26 22:19:48.302982518 +0100 @@ -1,0 +2,12 @@ +Wed Jan 23 22:06:23 UTC 2019 - [email protected] + +- Update to version 84.87+git20190123.8914352: + * adjust ref for rpmlint 1.11 + +------------------------------------------------------------------ +Wed Jan 09 19:02:01 UTC 2019 - [email protected] + +- Update to version 84.87+git20181018.60e0249: + * Add test for %tmpfiles_create foo.conf with no full path + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/rpmlint/rpmlint.changes 2018-12-27 00:25:49.431838140 +0100 +++ /work/SRC/openSUSE:Factory/.rpmlint.new.28833/rpmlint.changes 2019-01-26 22:19:48.334982493 +0100 @@ -1,0 +2,127 @@ +Mon Jan 14 08:23:01 UTC 2019 - Dirk Mueller <[email protected]> + +- disable UseVersionInChangelog by default + +------------------------------------------------------------------- +Sat Jan 12 19:44:23 UTC 2019 - Dirk Mueller <[email protected]> + +- update to 1.11: + * Avoid exception on inaccessible scripts + * Print out the error content on UnicodeError to make flake8 happy + * Fix flake8 warning about missing space around operators + * Use compressions when checking for backup files + * Account for arch specific code in /usr/share + * Check for installed libtool wrapper files + * Check for missing optional dependencies + * Consider gnome help for doc files + * Check for noarch package with files in lib64 + * Verify if description is longer than summary + * Explicitly tell users how to set URL + * Ignore pytest_cache directory + * confusing-invalid-spec-name + * Ignore orig/rej leftovers after patching + * Reenable Travis testing against Fedora Rawhide + * Check all sections that should not use %buildroot in them + * Put in default buildroot value used by Fedora/openSUSE + * Stricter interpreter check + * Use compileall to avoid %buildroot to be in pyc + * Drop deprecated config file usage, 0.88 is pretty old anyway + * Adjust Version to not print outdated Copyright + * Rework Travis checks against latest Centos and Fedora releases + * Fix exception handling + * Fix various flake8-import-order test regressions + * Blacklist newer pycodestyle warnings + * Fix compatibility with file 5.33+ + * Python 3.7.0b5 magic number is 3394 + * Update TagsCheck.py + * pyc related tests: DRY + * Fix getting pyc mtime on Python 3.7 + * Always import XDG desktop files as utf8 + * Fix Flake8 warnings + * Update Magic values for Python 3.7 (Fixes #123) + * Improve XDG Menu checks stability + * Test added. + * Ignore useless-provides on debuginfo provides (#112) + * Properly handle the exception on missing files + * Avoid calling close on undefined fd variable + * Code formatting fixed to meet the style. + * Modify FakePkg to let the test.sh pass. + * _sourcedir macro defined. + * Avoid summary-not-capitalized warning on digits + * Avoid catch-all except statements + * Use ImportError to avoid catch-all except: statements + * Handle E741: ambiguous identifier + * Accept python(abi) as a valid versioned python dependency + * Binariescheck: Check for chroot/chdir on ARM, PPC + * Avoid false positives on is_elf check + * Handle %post scripts that contain non-ascii characters + * Further tweak lib_regex + * split wrong-script-interpreter into env-script-interpreter + * Validate Appdata also when appstream-util is unavailable + * Remove dependency on unicodedata + * Lower false-positives on summary-not-capitalized + * Tighten wrong-script-interpreter check to lower false positives + * Check for unexpanded macros in more Tags + * Rename local file variable to fname + * Skip binaryinfo-readelf-failed on non-ELF archives + * Add check for validating file extensions + * Do not report error if call positions are unknown + * Execute chroot tests also on x86 rpms + * Tighten lib_regex to avoid false positive in python bindings + * Better details for wrong-script-interpreter + * Extend scm_regex to capture more SCM system files + * AppDataCheck: Pass --nonet to appstream-util if NetworkEnabled is False + * test: Fix cpio location in centos6 + * test: Combine run commands in fedoradev container + * test: Remove dnf upgrade from fedora containers + * test: Dockerfile whitespace tweaks + +- drop patches that were upstreamed: + 0001-Accept-python-abi-as-a-valid-versioned-python-depend.patch, + 0001-Always-import-XDG-desktop-files-as-utf8.patch, + 0001-Avoid-calling-close-on-undefined-fd-variable.patch, + 0001-Avoid-false-positives-on-is_elf-check.patch, + 0001-Backport-d8f423b575e8be387d33bc3af176baf978efacbb.patch, + 0001-Binariescheck-Check-for-chroot-chdir-on-ARM-PPC.patch, + 0001-Execute-chroot-tests-also-on-x86-rpms.patch, + 0001-Extend-scm_regex-to-capture-more-SCM-system-files.patch, + 0001-Fix-compatibility-with-file-5.33.patch, + 0001-Handle-post-scripts-that-contain-non-ascii-character.patch, + 0001-Improve-XDG-Menu-checks-stability.patch, + 0001-Tighten-wrong-script-interpreter-check-to-lower-fals.patch, + 0001-split-wrong-script-interpreter-into-env-script-inter.patch, + 0003-Tighten-lib_regex-to-avoid-false-positive-in-python-.patch, + 0007-Validate-Appdata-also-when-appstream-util-is-unavail.patch, + better-wrong-script.diff, buildroot-doc.diff, + buildroot-in-scripts.diff, compressed-backup-regex.diff, + confusing-invalid-spec-name.diff, description-check.diff, + drop-unicodedata-dep.diff, ignore-readelf-ar-error.diff, + libtool-wrapper-check.diff, noarch-lib64.diff, + omit_BUILDROOT_from_pyo_files.patch, + selfconflicts-provide.diff, stricter-interpreter-check.diff, + suse-whitelist-opensuse.diff, update-magic-values-python-37.patch, + usr-arch.diff + +------------------------------------------------------------------- +Wed Jan 09 19:18:49 UTC 2019 - [email protected] + +- Update to version master: + * Flake8 fix + +------------------------------------------------------------------- +Wed Jan 09 19:02:04 UTC 2019 - [email protected] + +- Update rpmlint-checks to version master (bsc#1116686): + * Ignore decoding errors as we're not sure we know the encoding + * Use UTF-8 encoding when opening .pc file (#42) + * whitelist otrs permission file (#41) + * Relax various flake8 warnings + * Handle '-n' option for %service_del_preun %service_del_postun + * There isn't a good standard, whether the directory should be called 'tests/' or 'test/' + +------------------------------------------------------------------- +Wed Jan 2 08:43:03 UTC 2019 - Martin Liška <[email protected]> + +- Add 0001-Backport-d8f423b575e8be387d33bc3af176baf978efacbb.patch + +------------------------------------------------------------------- Old: ---- 0001-Accept-python-abi-as-a-valid-versioned-python-depend.patch 0001-Always-import-XDG-desktop-files-as-utf8.patch 0001-Avoid-calling-close-on-undefined-fd-variable.patch 0001-Avoid-false-positives-on-is_elf-check.patch 0001-Binariescheck-Check-for-chroot-chdir-on-ARM-PPC.patch 0001-Execute-chroot-tests-also-on-x86-rpms.patch 0001-Extend-scm_regex-to-capture-more-SCM-system-files.patch 0001-Fix-compatibility-with-file-5.33.patch 0001-Handle-post-scripts-that-contain-non-ascii-character.patch 0001-Improve-XDG-Menu-checks-stability.patch 0001-Tighten-wrong-script-interpreter-check-to-lower-fals.patch 0001-split-wrong-script-interpreter-into-env-script-inter.patch 0003-Tighten-lib_regex-to-avoid-false-positive-in-python-.patch 0007-Validate-Appdata-also-when-appstream-util-is-unavail.patch better-wrong-script.diff buildroot-doc.diff buildroot-in-scripts.diff compressed-backup-regex.diff confusing-invalid-spec-name.diff description-check.diff drop-unicodedata-dep.diff ignore-readelf-ar-error.diff libtool-wrapper-check.diff noarch-lib64.diff omit_BUILDROOT_from_pyo_files.patch rpmlint-1.10.tar.gz rpmlint-tests-84.87+git20180703.88daa4e.tar.xz selfconflicts-provide.diff stricter-interpreter-check.diff suse-whitelist-opensuse.diff update-magic-values-python-37.patch usr-arch.diff New: ---- rpmlint-1.11.tar.gz rpmlint-tests-84.87+git20190123.8914352.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint-tests.spec ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.090981069 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.094981066 +0100 @@ -1,7 +1,7 @@ # # spec file for package rpmlint-tests # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # # icecream 0 @@ -24,7 +24,7 @@ BuildRequires: rpmlint-mini Name: rpmlint-tests -Version: 84.87+git20180703.88daa4e +Version: 84.87+git20190123.8914352 Release: 0 Summary: rpmlint regression tests License: SUSE-Public-Domain ++++++ rpmlint.spec ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.110981053 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.110981053 +0100 @@ -1,7 +1,7 @@ # # spec file for package rpmlint # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: rpmlint -Version: 1.10 +Version: 1.11 Release: 0 Summary: RPM file correctness checker License: GPL-2.0-or-later @@ -42,55 +42,27 @@ Patch09: suse-filter-exception.diff Patch10: suse-spdx-license-exceptions.patch Patch11: suse-skip-macro-expansion.diff -Patch20: usr-arch.diff Patch23: suse-filter-more-verbose.diff Patch24: docdata-examples.diff Patch25: yast-provides.diff -Patch27: better-wrong-script.diff -Patch28: buildroot-doc.diff Patch29: rpmgroup-checks.diff Patch30: devel-provide-is-devel-package.diff Patch31: only-reg-files-are-scripts.diff -Patch32: buildroot-in-scripts.diff -Patch33: libtool-wrapper-check.diff -Patch35: noarch-lib64.diff -Patch37: description-check.diff -Patch38: 0001-Tighten-wrong-script-interpreter-check-to-lower-fals.patch -Patch39: selfconflicts-provide.diff Patch40: no-badness-return.diff Patch41: suse-shlib-devel-dependency.diff -Patch42: 0001-Improve-XDG-Menu-checks-stability.patch -Patch43: stricter-interpreter-check.diff -Patch44: confusing-invalid-spec-name.diff -Patch48: suse-whitelist-opensuse.diff Patch49: extend-suse-conffiles-check.diff -Patch50: compressed-backup-regex.diff Patch51: suse-speccheck-utf8.diff -Patch52: 0001-Accept-python-abi-as-a-valid-versioned-python-depend.patch Patch54: suse-ignore-specfile-errors.diff Patch55: invalid-filerequires.diff Patch57: check-for-self-provides.diff Patch58: remove-ghostfile-checks.diff -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 -Patch64: drop-unicodedata-dep.diff -Patch65: 0001-split-wrong-script-interpreter-into-env-script-inter.patch -Patch66: 0001-Handle-post-scripts-that-contain-non-ascii-character.patch -Patch67: omit_BUILDROOT_from_pyo_files.patch -Patch68: 0001-Avoid-false-positives-on-is_elf-check.patch -Patch69: 0007-Validate-Appdata-also-when-appstream-util-is-unavail.patch -Patch71: 0001-Avoid-calling-close-on-undefined-fd-variable.patch 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 Patch77: suse-rpmlint-all-pie.patch +BuildRequires: desktop-file-utils BuildRequires: obs-service-format_spec_file BuildRequires: python3-flake8 +BuildRequires: python3-magic BuildRequires: python3-pytest BuildRequires: python3-rpm BuildRequires: xz ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.174981001 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.174981001 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/rpmlint-tests.git</param> - <param name="changesrevision">88daa4ecc60c092a31c0d3839ef936ddc16503ff</param></service><service name="tar_scm"> + <param name="changesrevision">8914352f9a703602fbe68224878d4b540bff72c4</param></service><service name="tar_scm"> <param name="url">https://github.com/openSUSE/rpmlint-checks.git</param> - <param name="changesrevision">df7d1c3260cb21372f95fe44393c098c3af9024a</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">2fa6dd19efd033b406b56ecbd664497fba602a2d</param></service></servicedata> \ No newline at end of file ++++++ check-for-self-provides.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.182980995 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.182980995 +0100 @@ -6,20 +6,22 @@ TagsCheck.py | 6 ++++++ 1 file changed, 6 insertions(+) -Index: rpmlint-rpmlint-1.10/TagsCheck.py +Index: rpmlint-rpmlint-1.11/TagsCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.10/TagsCheck.py -@@ -891,6 +891,8 @@ class TagsCheck(AbstractCheck.AbstractCh - for p in pkg.provides(): - value = Pkg.formatRequire(*p) - self._unexpanded_macros(pkg, 'Provides %s' % (value,), value) +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -874,6 +874,10 @@ class TagsCheck(AbstractCheck.AbstractCh + obs_names = [x[0] for x in pkg.obsoletes()] + prov_names = [x[0].split(':/')[0] for x in pkg.provides()] + ++ for p in pkg.provides(): + if p[0] == pkg.name and not p[1]: + printError(pkg, 'unversioned-explicit-self-provides', p[0]) - - for c in pkg.conflicts(): - value = Pkg.formatRequire(*c) -@@ -1215,6 +1217,10 @@ objects should thus not be depended on a ++ + for o in (x for x in obs_names if x not in prov_names): + printWarning(pkg, 'obsolete-not-provided', o) + for o in pkg.obsoletes(): +@@ -1219,6 +1223,10 @@ objects should thus not be depended on a in the containing package. Get rid of the provides if appropriate, for example by filtering it out during build. Note that in some cases this may require disabling rpmbuild's internal dependency generator.''', ++++++ config ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.194980985 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.194980985 +0100 @@ -67,6 +67,7 @@ #setOption("KernelModuleRPMsOK", 0) setOption("CompressExtension", None) setOption('UseVarLockSubsys', False) +setOption('UseVersionInChangelog', False) setOption("BadnessThreshold", 1000) # keep in sync with https://en.opensuse.org/openSUSE:Package_group_guidelines ++++++ devel-provide-is-devel-package.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.202980979 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.202980979 +0100 @@ -7,11 +7,11 @@ FilesCheck.py | 4 ++++ 1 file changed, 4 insertions(+) -Index: rpmlint-rpmlint-1.10/FilesCheck.py +Index: rpmlint-rpmlint-1.11/FilesCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/FilesCheck.py -+++ rpmlint-rpmlint-1.10/FilesCheck.py -@@ -422,6 +422,10 @@ class FilesCheck(AbstractCheck.AbstractC +--- rpmlint-rpmlint-1.11.orig/FilesCheck.py ++++ rpmlint-rpmlint-1.11/FilesCheck.py +@@ -446,6 +446,10 @@ class FilesCheck(AbstractCheck.AbstractC # Check if the package is a development package devel_pkg = devel_regex.search(pkg.name) ++++++ docdata-examples.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.206980975 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.206980975 +0100 @@ -7,11 +7,11 @@ FilesCheck.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -Index: rpmlint-rpmlint-1.10/FilesCheck.py +Index: rpmlint-rpmlint-1.11/FilesCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/FilesCheck.py -+++ rpmlint-rpmlint-1.10/FilesCheck.py -@@ -189,6 +189,7 @@ bin_regex = re.compile(r'^/(?:usr/(?:s?b +--- rpmlint-rpmlint-1.11.orig/FilesCheck.py ++++ rpmlint-rpmlint-1.11/FilesCheck.py +@@ -190,6 +190,7 @@ bin_regex = re.compile(r'^/(?:usr/(?:s?b includefile_regex = re.compile(r'\.(c|h)(pp|xx)?$', re.IGNORECASE) develfile_regex = re.compile(r'\.(a|cmxa?|mli?|gir)$') buildconfigfile_regex = re.compile(r'(\.pc|/bin/.+-config)$') @@ -19,7 +19,7 @@ # room for improvement with catching more -R, but also for false positives... buildconfig_rpath_regex = re.compile(r'(?:-rpath|Wl,-R)\b') sofile_regex = re.compile(r'/lib(64)?/(.+/)?lib[^/]+\.so$') -@@ -785,7 +786,7 @@ class FilesCheck(AbstractCheck.AbstractC +@@ -820,7 +821,7 @@ class FilesCheck(AbstractCheck.AbstractC includefile_regex.search(f) or \ develfile_regex.search(f) or \ logrotate_regex.search(f) @@ -28,7 +28,7 @@ printWarning(pkg, 'spurious-executable-perm', f) elif f.startswith('/etc/') and f not in config_files and \ f not in ghost_files: -@@ -1154,7 +1155,10 @@ included in your package.''', +@@ -1196,7 +1197,10 @@ included in your package.''', 'spurious-executable-perm', '''The file is installed with executable permissions, but was identified as one that probably should not be executable. Verify if the executable bits are ++++++ extend-suse-conffiles-check.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.214980969 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.214980969 +0100 @@ -7,11 +7,11 @@ FilesCheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: rpmlint-rpmlint-1.10/FilesCheck.py +Index: rpmlint-rpmlint-1.11/FilesCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/FilesCheck.py -+++ rpmlint-rpmlint-1.10/FilesCheck.py -@@ -803,7 +803,7 @@ class FilesCheck(AbstractCheck.AbstractC +--- rpmlint-rpmlint-1.11.orig/FilesCheck.py ++++ rpmlint-rpmlint-1.11/FilesCheck.py +@@ -828,7 +828,7 @@ class FilesCheck(AbstractCheck.AbstractC if nonexec_file and not docdir_examples_regex.search(f): printWarning(pkg, 'spurious-executable-perm', f) elif f.startswith('/etc/') and f not in config_files and \ ++++++ invalid-filerequires.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.222980963 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.222980963 +0100 @@ -7,11 +7,11 @@ TagsCheck.py | 10 ++++++++++ 1 file changed, 10 insertions(+) -Index: rpmlint-rpmlint-1.10/TagsCheck.py +Index: rpmlint-rpmlint-1.11/TagsCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.10/TagsCheck.py -@@ -452,6 +452,7 @@ invalid_version_regex = re.compile(r'([0 +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -456,6 +456,7 @@ invalid_version_regex = re.compile(r'([0 # () are here for grouping purpose in the regexp forbidden_words_regex = re.compile(r'(%s)' % Config.getOption('ForbiddenWords'), re.IGNORECASE) valid_buildhost_regex = re.compile(Config.getOption('ValidBuildHost')) @@ -19,7 +19,7 @@ use_epoch = Config.getOption('UseEpoch', False) use_utf8 = Config.getOption('UseUTF8', Config.USEUTF8_DEFAULT) max_line_len = Config.getOption('MaxLineLength', 79) -@@ -632,6 +633,9 @@ class TagsCheck(AbstractCheck.AbstractCh +@@ -636,6 +637,9 @@ class TagsCheck(AbstractCheck.AbstractCh if d[0].startswith('/usr/local/'): printError(pkg, 'invalid-dependency', d[0]) @@ -29,7 +29,7 @@ if is_source: if lib_devel_number_regex.search(d[0]): printError(pkg, 'invalid-build-requires', d[0]) -@@ -1162,6 +1166,12 @@ unneeded explicit Requires: tags.''', +@@ -1166,6 +1170,12 @@ unneeded explicit Requires: tags.''', '''This package provides 2 times the same capacity. It should only provide it once.''', ++++++ no-badness-return.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.234980953 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.234980953 +0100 @@ -8,10 +8,10 @@ rpmlint | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -Index: rpmlint-rpmlint-1.10/Filter.py +Index: rpmlint-rpmlint-1.11/Filter.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/Filter.py -+++ rpmlint-rpmlint-1.10/Filter.py +--- rpmlint-rpmlint-1.11.orig/Filter.py ++++ rpmlint-rpmlint-1.11/Filter.py @@ -130,7 +130,7 @@ def printAllReasons(): if len(last_reason): printDescriptions(last_reason) @@ -21,11 +21,11 @@ if Config.info and len(last_reason): printDescriptions(last_reason) _diagnostic = list() -Index: rpmlint-rpmlint-1.10/rpmlint +Index: rpmlint-rpmlint-1.11/rpmlint =================================================================== ---- rpmlint-rpmlint-1.10.orig/rpmlint -+++ rpmlint-rpmlint-1.10/rpmlint -@@ -206,7 +206,7 @@ def main(): +--- rpmlint-rpmlint-1.11.orig/rpmlint ++++ rpmlint-rpmlint-1.11/rpmlint +@@ -207,7 +207,7 @@ def main(): % (packages_checked, specfiles_checked, printed_messages["E"], printed_messages["W"])) ++++++ no-doc-for-lib.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.246980943 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.246980943 +0100 @@ -7,11 +7,11 @@ FilesCheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: rpmlint-rpmlint-1.10/FilesCheck.py +Index: rpmlint-rpmlint-1.11/FilesCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/FilesCheck.py -+++ rpmlint-rpmlint-1.10/FilesCheck.py -@@ -440,7 +440,7 @@ class FilesCheck(AbstractCheck.AbstractC +--- rpmlint-rpmlint-1.11.orig/FilesCheck.py ++++ rpmlint-rpmlint-1.11/FilesCheck.py +@@ -464,7 +464,7 @@ class FilesCheck(AbstractCheck.AbstractC debuginfo_srcs = False debuginfo_debugs = False ++++++ only-reg-files-are-scripts.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.250980940 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.250980940 +0100 @@ -7,10 +7,10 @@ InitScriptCheck.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -Index: rpmlint-rpmlint-1.10/InitScriptCheck.py +Index: rpmlint-rpmlint-1.11/InitScriptCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/InitScriptCheck.py -+++ rpmlint-rpmlint-1.10/InitScriptCheck.py +--- rpmlint-rpmlint-1.11.orig/InitScriptCheck.py ++++ rpmlint-rpmlint-1.11/InitScriptCheck.py @@ -17,7 +17,7 @@ import AbstractCheck import Config from Filter import addDetails, printError, printWarning ++++++ remove-ghostfile-checks.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.266980927 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.266980927 +0100 @@ -1,8 +1,10 @@ ---- rpmlint-rpmlint-1.10.orig/PostCheck.py -+++ rpmlint-rpmlint-1.10/PostCheck.py -@@ -112,20 +112,6 @@ class PostCheck(AbstractCheck.AbstractCh - self.check_aux( - pkg, files, prog[idx], script[idx], tag[2], prereq) +Index: rpmlint-rpmlint-1.11/PostCheck.py +=================================================================== +--- rpmlint-rpmlint-1.11.orig/PostCheck.py ++++ rpmlint-rpmlint-1.11/PostCheck.py +@@ -108,20 +108,6 @@ class PostCheck(AbstractCheck.AbstractCh + pkg, files, prog[idx], + pkg.header[tag[0]][idx], tag[2], prereq) - ghost_files = pkg.ghostFiles() - if ghost_files: @@ -20,8 +22,8 @@ - def check_aux(self, pkg, files, prog, script, tag, prereq): if script: - if prog: -@@ -195,10 +181,6 @@ class PostCheck(AbstractCheck.AbstractCh + script_str = Pkg.b2s(script) +@@ -193,10 +179,6 @@ class PostCheck(AbstractCheck.AbstractCh check = PostCheck() # Add information about checks @@ -29,6 +31,6 @@ -'postin-without-ghost-file-creation', -'''A file tagged as ghost is not created during %prein nor during %postin.''', -) - for scriptlet in map(lambda x: '%' + x, RPM_SCRIPTLETS): + for scriptlet in map(lambda x: '%' + x, Pkg.RPM_SCRIPTLETS): addDetails( 'one-line-command-in-%s' % scriptlet, ++++++ rpmgroup-checks.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.270980923 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.270980923 +0100 @@ -7,11 +7,11 @@ TagsCheck.py | 6 ++++++ 1 file changed, 6 insertions(+) -Index: rpmlint-rpmlint-1.10/TagsCheck.py +Index: rpmlint-rpmlint-1.11/TagsCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.10/TagsCheck.py -@@ -743,6 +743,8 @@ class TagsCheck(AbstractCheck.AbstractCh +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -750,6 +750,8 @@ class TagsCheck(AbstractCheck.AbstractCh self._unexpanded_macros(pkg, 'Group', group) if not group: printError(pkg, 'no-group-tag') @@ -20,7 +20,7 @@ elif VALID_GROUPS and group not in VALID_GROUPS: printWarning(pkg, 'non-standard-group', group) -@@ -1067,6 +1069,10 @@ won't fool the specfile parser, and rebu +@@ -1085,6 +1087,10 @@ won't fool the specfile parser, and rebu '''There is no Group tag in your package. You have to specify a valid group in your spec file using the Group tag.''', ++++++ rpmlint-1.10.tar.gz -> rpmlint-1.11.tar.gz ++++++ /work/SRC/openSUSE:Factory/rpmlint/rpmlint-1.10.tar.gz /work/SRC/openSUSE:Factory/.rpmlint.new.28833/rpmlint-1.11.tar.gz differ: char 14, line 1 ++++++ rpmlint-checks-master.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/BrandingPolicyCheck.py new/rpmlint-checks-master/BrandingPolicyCheck.py --- old/rpmlint-checks-master/BrandingPolicyCheck.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/BrandingPolicyCheck.py 2019-01-09 20:18:29.000000000 +0100 @@ -6,7 +6,7 @@ # Purpose : Verify that branding related things comply ############################################################################# -from Filter import printError, addDetails +from Filter import addDetails, printError import AbstractCheck import rpm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/CheckExecDocs.py new/rpmlint-checks-master/CheckExecDocs.py --- old/rpmlint-checks-master/CheckExecDocs.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/CheckExecDocs.py 2019-01-09 20:18:29.000000000 +0100 @@ -37,7 +37,7 @@ files = pkg.files() complete_size = 0 lang_size = 0 - for f, pkgfile in files.items(): + for _, pkgfile in files.items(): if stat.S_ISREG(pkgfile.mode): complete_size += pkgfile.size if pkgfile.lang != '': diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/CheckFilelist.py new/rpmlint-checks-master/CheckFilelist.py --- old/rpmlint-checks-master/CheckFilelist.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/CheckFilelist.py 2019-01-09 20:18:29.000000000 +0100 @@ -142,6 +142,7 @@ which can cause file list conflict and is not allowed in SUSE.''', 'bad': [ '/usr/lib*/python*/site-packages/test', + '/usr/lib*/python*/site-packages/tests', ], }, { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/CheckLogrotate.py new/rpmlint-checks-master/CheckLogrotate.py --- old/rpmlint-checks-master/CheckLogrotate.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/CheckLogrotate.py 2019-01-09 20:18:29.000000000 +0100 @@ -22,7 +22,7 @@ files = pkg.files() dirs = {} - for f, pkgfile in files.items(): + for f in files: if f in pkg.ghostFiles(): continue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/CheckPkgConfig.py new/rpmlint-checks-master/CheckPkgConfig.py --- old/rpmlint-checks-master/CheckPkgConfig.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/CheckPkgConfig.py 2019-01-09 20:18:29.000000000 +0100 @@ -37,7 +37,8 @@ if pkg.grep(self.suspicious_dir, filename): Filter.printError(pkg, "invalid-pkgconfig-file", filename) - pc_file = open(pkg.dirName() + "/" + filename, "r") + pc_file = open(pkg.dirName() + "/" + filename, "r", + encoding="utf-8", errors="ignore") for l in pc_file: if l.startswith('Libs:') and self.wronglib_dir.search(l): Filter.printError(pkg, 'pkgconfig-invalid-libs-dir', 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-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/CheckSUIDPermissions.py 2019-01-09 20:18:29.000000000 +0100 @@ -27,6 +27,7 @@ "squid", "texlive", "texlive.texlive", + "otrs", # bsc#1118049 ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/CheckSysVinitOnSystemd.py new/rpmlint-checks-master/CheckSysVinitOnSystemd.py --- old/rpmlint-checks-master/CheckSysVinitOnSystemd.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/CheckSysVinitOnSystemd.py 2019-01-09 20:18:29.000000000 +0100 @@ -6,10 +6,11 @@ # Purpose : Check on systemd systems for required insserv package ############################################################################# +import os + from Filter import addDetails, printError import AbstractCheck import Config -import os insserv_tag = 'suse-obsolete-insserv-requirement' etcinit_tag = 'suse-deprecated-init-script' @@ -29,7 +30,7 @@ if req[0] == 'insserv': printError(pkg, insserv_tag) - for fn, pkgfile in pkg.files().items(): + for fn in pkg.files(): if not fn.startswith('/etc/init.d'): continue if os.path.basename(fn).startswith('boot.'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/CheckSystemdInstall.py new/rpmlint-checks-master/CheckSystemdInstall.py --- old/rpmlint-checks-master/CheckSystemdInstall.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/CheckSystemdInstall.py 2019-01-09 20:18:29.000000000 +0100 @@ -35,15 +35,15 @@ 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(): + for fname in pkg.files(): if CHECKED_UNITS_REGEXP.search(fname): processed = {'pre': False, 'post': False, 'preun': False, 'postun': False} escaped_basename = re.escape(os.path.basename(fname)) PRE_POST_PATTERN = re.compile(r'for service in .*' + escaped_basename) - PREUN_PATTERN = re.compile(r'systemctl stop .*' + escaped_basename) - POSTUN_PATTERN = re.compile(r'systemctl try-restart .*' + escaped_basename) + PREUN_PATTERN = re.compile(r'systemctl --no-reload disable .*' + escaped_basename) + POSTUN_PATTERN = re.compile(r'(systemctl try-restart .*|# Restart of .*)' + escaped_basename) for line in pre.split("\n"): if PRE_POST_PATTERN.search(line): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/ErlangCheck.py new/rpmlint-checks-master/ErlangCheck.py --- old/rpmlint-checks-master/ErlangCheck.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/ErlangCheck.py 2019-01-09 20:18:29.000000000 +0100 @@ -18,7 +18,7 @@ class ErlangCheck(AbstractCheck.AbstractFilesCheck): def __init__(self): AbstractCheck.AbstractFilesCheck.__init__( - self, "ErlangCheck", ".*?\.beam$") + self, "ErlangCheck", r'.*?\.beam$') build_dir = rpm.expandMacro("%_builddir") self.source_re = re.compile(build_dir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/LibraryPolicyCheck.py new/rpmlint-checks-master/LibraryPolicyCheck.py --- old/rpmlint-checks-master/LibraryPolicyCheck.py 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/LibraryPolicyCheck.py 2019-01-09 20:18:29.000000000 +0100 @@ -6,18 +6,19 @@ # Purpose : Verify shared library packaging policy rules ############################################################################# +import os +import re +import rpm +import stat + import AbstractCheck +from BinariesCheck import BinaryInfo import Config from Filter import addDetails from Filter import printError from Filter import printWarning -import os import Pkg -import re -import rpm -import stat -from BinariesCheck import BinaryInfo _policy_legacy_exceptions = ( "libacl1", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-checks-master/flake8.sh new/rpmlint-checks-master/flake8.sh --- old/rpmlint-checks-master/flake8.sh 2018-10-16 17:12:41.000000000 +0200 +++ new/rpmlint-checks-master/flake8.sh 2019-01-09 20:18:29.000000000 +0100 @@ -1,2 +1,2 @@ #!/bin/sh -flake8 --ignore=E501,E122,F403,F405 *py +flake8 --ignore=E501,E122,F403,F405,W504,I100,I201 *py ++++++ rpmlint-suse.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.338980868 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.338980868 +0100 @@ -1,18 +1,20 @@ ---- rpmlint-rpmlint-1.10.orig/FilesCheck.py -+++ rpmlint-rpmlint-1.10/FilesCheck.py -@@ -184,7 +184,7 @@ compr_regex = re.compile(r'\.(gz|z|Z|zip +Index: rpmlint-rpmlint-1.11/FilesCheck.py +=================================================================== +--- rpmlint-rpmlint-1.11.orig/FilesCheck.py ++++ rpmlint-rpmlint-1.11/FilesCheck.py +@@ -185,7 +185,7 @@ compr_regex = re.compile(compressions + absolute_regex = re.compile(r'^/([^/]+)') absolute2_regex = re.compile(r'^/?([^/]+)') points_regex = re.compile(r'^\.\./(.*)') --doc_regex = re.compile(r'^/usr(/share|/X11R6)?/(doc|man|info)/') +-doc_regex = re.compile(r'^/usr(/share|/X11R6)?/(doc|man|info)/|^/usr/share/gnome/help') +doc_regex = re.compile(r'^/usr(/share|/X11R6)?/(doc|man|info)/|^/opt/kde3/share/doc|^/usr/share/gnome/help') bin_regex = re.compile(r'^/(?:usr/(?:s?bin|games)|s?bin)/(.*)') includefile_regex = re.compile(r'\.(c|h)(pp|xx)?$', re.IGNORECASE) develfile_regex = re.compile(r'\.(a|cmxa?|mli?|gir)$') -Index: rpmlint-rpmlint-1.10/I18NCheck.py +Index: rpmlint-rpmlint-1.11/I18NCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/I18NCheck.py -+++ rpmlint-rpmlint-1.10/I18NCheck.py +--- rpmlint-rpmlint-1.11.orig/I18NCheck.py ++++ rpmlint-rpmlint-1.11/I18NCheck.py @@ -30,7 +30,7 @@ INCORRECT_LOCALES = { 'en_UK': 'en_GB'} ++++++ rpmlint-tests-84.87+git20180703.88daa4e.tar.xz -> rpmlint-tests-84.87+git20190123.8914352.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-84.87+git20180703.88daa4e/tests/desktopfile-bad-unicode.ref new/rpmlint-tests-84.87+git20190123.8914352/tests/desktopfile-bad-unicode.ref --- old/rpmlint-tests-84.87+git20180703.88daa4e/tests/desktopfile-bad-unicode.ref 2018-07-03 14:52:52.000000000 +0200 +++ new/rpmlint-tests-84.87+git20190123.8914352/tests/desktopfile-bad-unicode.ref 2019-01-23 23:05:51.000000000 +0100 @@ -1,4 +1,4 @@ -desktopfile-bad-unicode: W: invalid-desktopfile /usr/share/applications/rpmlint-test.desktop No valid Unicode +desktopfile-bad-unicode: W: invalid-desktopfile /usr/share/applications/rpmlint-test.desktop Unicode error: 'utf-8' codec can't decode byte 0xe4 in position 0: invalid continuation byte desktopfile-bad-unicode: W: invalid-desktopfile /usr/share/applications/rpmlint-test.desktop value "rpmlint-test umlaut \xe4\xf6\xfc " for locale string key "Name[de]" in group "Desktop Entry" contains invalid UTF-8 characters, locale string values should be encoded in UTF-8 desktopfile-bad-unicode: W: non-utf8-desktopfile /usr/share/applications/rpmlint-test.desktop 1 packages and 0 specfiles checked; 0 errors, 3 warnings. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-84.87+git20180703.88daa4e/tests/tmpfiles6.ignore new/rpmlint-tests-84.87+git20190123.8914352/tests/tmpfiles6.ignore --- old/rpmlint-tests-84.87+git20180703.88daa4e/tests/tmpfiles6.ignore 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-84.87+git20190123.8914352/tests/tmpfiles6.ignore 2019-01-23 23:05:51.000000000 +0100 @@ -0,0 +1,3 @@ +#addFilter(" files-duplicate") +#addFilter(" no-manual-page-for-binary ") +#addFilter(" no-binary") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-84.87+git20180703.88daa4e/tests/tmpfiles6.ref new/rpmlint-tests-84.87+git20190123.8914352/tests/tmpfiles6.ref --- old/rpmlint-tests-84.87+git20180703.88daa4e/tests/tmpfiles6.ref 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-84.87+git20190123.8914352/tests/tmpfiles6.ref 2019-01-23 23:05:51.000000000 +0100 @@ -0,0 +1 @@ +1 packages and 0 specfiles checked; 0 errors, 0 warnings. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-84.87+git20180703.88daa4e/tests/tmpfiles6.spec new/rpmlint-tests-84.87+git20190123.8914352/tests/tmpfiles6.spec --- old/rpmlint-tests-84.87+git20180703.88daa4e/tests/tmpfiles6.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests-84.87+git20190123.8914352/tests/tmpfiles6.spec 2019-01-23 23:05:51.000000000 +0100 @@ -0,0 +1,42 @@ +Name: tmpfiles6 +Version: 0 +Release: 0 +Group: Development/Tools/Building +Summary: Lorem ipsum +License: GPL-2.0+ +BuildRoot: %_tmppath/%name-%version-build +Url: http://www.opensuse.org/ +BuildArch: noarch + +%description +Lorem ipsum dolor sit amet, consectetur adipisici elit, sed +eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim +ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut +aliquid ex ea commodi consequat. Quis aute iure reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. +Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui +officia deserunt mollit anim id est laborum. + +%prep +%build + +%install +install -d -m 755 %buildroot/usr/lib/tmpfiles.d +cat > %buildroot/usr/lib/tmpfiles.d/foo.conf << EOF +d /var/log/foo 0755 root root 10d +EOF + +%clean +rm -rf %buildroot + +%post +%tmpfiles_create foo.conf + +%files +%defattr(-,root,root) +/usr/lib/tmpfiles.d +%ghost /var/log/foo + +%changelog +* Mon Apr 18 2011 [email protected] +- dummy ++++++ suse-binarieschecks.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.418980803 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.418980803 +0100 @@ -7,10 +7,10 @@ BinariesCheck.py | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) -Index: rpmlint-rpmlint-1.10/BinariesCheck.py +Index: rpmlint-rpmlint-1.11/BinariesCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/BinariesCheck.py -+++ rpmlint-rpmlint-1.10/BinariesCheck.py +--- rpmlint-rpmlint-1.11.orig/BinariesCheck.py ++++ rpmlint-rpmlint-1.11/BinariesCheck.py @@ -16,7 +16,7 @@ import rpm import AbstractCheck @@ -20,17 +20,17 @@ import Pkg -@@ -56,6 +56,9 @@ class BinaryInfo(object): +@@ -54,6 +54,9 @@ class BinaryInfo(object): + setuid_call_regex = create_regexp_call(r'set(?:res|e)?uid') + setgroups_call_regex = create_regexp_call(r'(?:ini|se)tgroups') chroot_call_regex = create_regexp_call('chroot') - # 401eb8: e8 c3 f0 ff ff callq 400f80 <chdir@plt> - objdump_call_regex = re.compile(br'callq?\s(.*)') + debuginfo_regex = re.compile(r'^\s+\[\s*\d+\]\s+\.debug_.*\s+') + symtab_regex = re.compile(r'^\s+\[\s*\d+\]\s+\.symtab\s+') + gethostbyname_call_regex = create_regexp_call(r'(gethostbyname|gethostbyname2|gethostbyaddr|gethostbyname_r|gethostbyname2_r|gethostbyaddr_r)') forbidden_functions = Config.getOption("WarnOnFunction") if forbidden_functions: -@@ -84,7 +87,10 @@ class BinaryInfo(object): +@@ -83,7 +86,10 @@ class BinaryInfo(object): self.exec_stack = False self.exit_calls = [] self.forbidden_calls = [] @@ -39,34 +39,34 @@ + self.debuginfo = False + self.symtab = False self.tail = '' + self.lto_sections = False - self.setgid = False -@@ -121,6 +127,14 @@ class BinaryInfo(object): +@@ -134,6 +140,14 @@ class BinaryInfo(object): self.non_pic = False continue -+ if BinaryInfo.debuginfo_regex.search(l): ++ if BinaryInfo.debuginfo_regex.search(line): + self.debuginfo = True + continue + -+ if BinaryInfo.symtab_regex.search(l): ++ if BinaryInfo.symtab_regex.search(line): + self.symtab = True + continue + - r = BinaryInfo.soname_regex.search(l) + r = BinaryInfo.soname_regex.search(line) if r: self.soname = r.group(1) -@@ -161,6 +175,9 @@ class BinaryInfo(object): - if BinaryInfo.chroot_call_regex.search(l): +@@ -174,6 +188,9 @@ class BinaryInfo(object): + if BinaryInfo.chroot_call_regex.search(line): self.chroot = True -+ if BinaryInfo.gethostbyname_call_regex.search(l): ++ if BinaryInfo.gethostbyname_call_regex.search(line): + self.calls_gethostbyname = True + if BinaryInfo.forbidden_functions: for r_name, func in BinaryInfo.forbidden_functions.items(): - ret = func['f_regex'].search(l) -@@ -392,13 +409,26 @@ class BinariesCheck(AbstractCheck.Abstra + ret = func['f_regex'].search(line) +@@ -432,13 +449,26 @@ class BinariesCheck(AbstractCheck.Abstra continue # stripped ? @@ -94,7 +94,7 @@ if is_shlib: has_lib = True -@@ -453,6 +483,10 @@ class BinariesCheck(AbstractCheck.Abstra +@@ -496,6 +526,10 @@ class BinariesCheck(AbstractCheck.Abstra printWarning(pkg, ec, fname, BinaryInfo.forbidden_functions[ec]['f_name']) @@ -105,7 +105,7 @@ # rpath ? if bin_info.rpath: for p in bin_info.rpath: -@@ -666,6 +700,14 @@ with the intended shared libraries only. +@@ -724,6 +758,14 @@ with the intended shared libraries only. 'ldd-failed', '''Executing ldd on this file failed, all checks could not be run.''', @@ -120,7 +120,7 @@ 'executable-stack', '''The binary declares the stack as executable. Executable stack is usually an error as it is only needed if the code contains GCC trampolines or similar -@@ -678,6 +720,10 @@ don\'t define a proper .note.GNU-stack s +@@ -736,6 +778,10 @@ don\'t define a proper .note.GNU-stack s make the stack executable. Usual suspects include use of a non-GNU linker or an old GNU linker version.''', @@ -131,7 +131,7 @@ 'shared-lib-calls-exit', '''This library package calls exit() or _exit(), probably in a non-fork() context. Doing so from a library is strongly discouraged - when a library -@@ -696,6 +742,12 @@ that use prelink, make sure that prelink +@@ -754,6 +800,12 @@ that use prelink, make sure that prelink placing a blacklist file in /etc/prelink.conf.d. For more information, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256900#49''', ++++++ suse-filter-exception.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.434980790 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.434980790 +0100 @@ -7,11 +7,11 @@ Config.py | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 54 insertions(+), 7 deletions(-) -Index: rpmlint-rpmlint-1.10/Config.py +Index: rpmlint-rpmlint-1.11/Config.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/Config.py -+++ rpmlint-rpmlint-1.10/Config.py -@@ -114,12 +114,23 @@ def getOption(name, default=""): +--- rpmlint-rpmlint-1.11.orig/Config.py ++++ rpmlint-rpmlint-1.11/Config.py +@@ -111,12 +111,23 @@ def getOption(name, default=""): _filters = [] _filters_re = None @@ -37,7 +37,7 @@ def removeFilter(s): -@@ -137,8 +148,13 @@ _scoring = {} +@@ -134,8 +145,13 @@ _scoring = {} def setBadness(s, score): @@ -51,7 +51,7 @@ def badness(s): return _scoring.get(s, 0) -@@ -149,11 +165,24 @@ _non_named_group_re = re.compile(r'[^\\] +@@ -146,11 +162,24 @@ _non_named_group_re = re.compile(r'[^\\] def isFiltered(s): global _filters_re @@ -80,7 +80,7 @@ _filters_re = '(?:' + _filters[0] + ')' for idx in range(1, len(_filters)): -@@ -165,9 +194,27 @@ def isFiltered(s): +@@ -162,9 +191,27 @@ def isFiltered(s): _filters_re = _filters_re + '|(?:' + _filters[idx] + ')' _filters_re = re.compile(_filters_re) ++++++ suse-filter-more-verbose.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.442980784 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.442980784 +0100 @@ -7,10 +7,10 @@ Config.py | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) -Index: rpmlint-rpmlint-1.10/Config.py +Index: rpmlint-rpmlint-1.11/Config.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/Config.py -+++ rpmlint-rpmlint-1.10/Config.py +--- rpmlint-rpmlint-1.11.orig/Config.py ++++ rpmlint-rpmlint-1.11/Config.py @@ -10,6 +10,7 @@ import locale import os.path @@ -19,7 +19,7 @@ try: from __version__ import __version__ -@@ -180,7 +181,17 @@ def isFiltered(s): +@@ -177,7 +178,17 @@ def isFiltered(s): if '(' in _filters_non_except[idx]: _non_named_group_re.subn('(:?', _filters_non_except[idx]) _filters_non_except_re = _filters_non_except_re + '|(?:' + _filters_non_except[idx] +')' @@ -38,7 +38,7 @@ if _filters_re == None and len(_filters): _filters_re = '(?:' + _filters[0] + ')' -@@ -192,7 +203,17 @@ def isFiltered(s): +@@ -189,7 +200,17 @@ def isFiltered(s): if '(' in _filters[idx]: _non_named_group_re.subn('(:?', _filters[idx]) _filters_re = _filters_re + '|(?:' + _filters[idx] + ')' ++++++ suse-ignore-specfile-errors.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.450980778 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.450980778 +0100 @@ -7,11 +7,11 @@ SpecCheck.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -Index: rpmlint-rpmlint-1.10/SpecCheck.py +Index: rpmlint-rpmlint-1.11/SpecCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/SpecCheck.py -+++ rpmlint-rpmlint-1.10/SpecCheck.py -@@ -559,9 +559,8 @@ class SpecCheck(AbstractCheck.AbstractCh +--- rpmlint-rpmlint-1.11.orig/SpecCheck.py ++++ rpmlint-rpmlint-1.11/SpecCheck.py +@@ -551,9 +551,8 @@ class SpecCheck(AbstractCheck.AbstractCh printWarning(pkg, "patch-not-applied", "Patch%d:" % pnum, pfile) ++++++ suse-pkg-config-check.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.462980768 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.462980768 +0100 @@ -1,6 +1,8 @@ ---- rpmlint-rpmlint-1.10.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.10/TagsCheck.py -@@ -416,6 +416,7 @@ lib_devel_number_regex = re.compile(r'^l +Index: rpmlint-rpmlint-1.11/TagsCheck.py +=================================================================== +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -420,6 +420,7 @@ lib_devel_number_regex = re.compile(r'^l invalid_url_regex = re.compile(Config.getOption('InvalidURL'), re.IGNORECASE) lib_package_regex = re.compile(r'(?:^(?:compat-)?lib.*?(\.so.*)?|libs?[\d-]*)$', re.IGNORECASE) leading_space_regex = re.compile(r'^\s+') @@ -8,7 +10,7 @@ license_regex = re.compile(r'\(([^)]+)\)|\s(?:and|or|AND|OR)\s') invalid_version_regex = re.compile(r'([0-9](?:rc|alpha|beta|pre).*)', re.IGNORECASE) # () are here for grouping purpose in the regexp -@@ -635,10 +636,12 @@ class TagsCheck(AbstractCheck.AbstractCh +@@ -639,10 +640,12 @@ class TagsCheck(AbstractCheck.AbstractCh base = is_devel.group(1) dep = None has_so = False @@ -22,7 +24,7 @@ if has_so: base_or_libs = base + '/' + base + '-libs/lib' + base # try to match *%_isa as well (e.g. "(x86-64)", "(x86-32)") -@@ -675,6 +678,15 @@ class TagsCheck(AbstractCheck.AbstractCh +@@ -679,6 +682,15 @@ class TagsCheck(AbstractCheck.AbstractCh if prov not in (x[0] for x in pkg.provides()): printWarning(pkg, 'no-provides', prov) @@ -38,7 +40,7 @@ # List of words to ignore in spell check ignored_words = set() for pf in pkg.files(): -@@ -1108,6 +1120,11 @@ once.''', +@@ -1126,6 +1138,11 @@ once.''', 'no-url-tag', '''The URL tag is missing. Please add a http or ftp link to the project location.''', ++++++ suse-rpmlint-all-pie.patch ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.470980761 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.474980758 +0100 @@ -1,8 +1,8 @@ -Index: rpmlint-rpmlint-1.10/BinariesCheck.py +Index: rpmlint-rpmlint-1.11/BinariesCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/BinariesCheck.py -+++ rpmlint-rpmlint-1.10/BinariesCheck.py -@@ -543,10 +543,14 @@ class BinariesCheck(AbstractCheck.Abstra +--- rpmlint-rpmlint-1.11.orig/BinariesCheck.py ++++ rpmlint-rpmlint-1.11/BinariesCheck.py +@@ -558,10 +558,14 @@ class BinariesCheck(AbstractCheck.Abstra if ocaml_mixed_regex.search(bin_info.tail): printWarning(pkg, 'ocaml-mixed-executable', fname) @@ -21,7 +21,7 @@ if bin_info.readelf_error: continue -@@ -798,6 +802,10 @@ stripping process.''', +@@ -810,6 +814,10 @@ stripping process.''', '''This executable must be position independent. Check that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags.''', ++++++ suse-shlib-devel-dependency.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.482980752 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.482980752 +0100 @@ -7,11 +7,11 @@ TagsCheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: rpmlint-rpmlint-1.10/TagsCheck.py +Index: rpmlint-rpmlint-1.11/TagsCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.10/TagsCheck.py -@@ -663,10 +663,10 @@ class TagsCheck(AbstractCheck.AbstractCh +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -667,10 +667,10 @@ class TagsCheck(AbstractCheck.AbstractCh if pkg_config_regex.match(fname) and fname.endswith('.pc'): has_pc = True if has_so: ++++++ suse-skip-macro-expansion.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.490980745 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.490980745 +0100 @@ -1,8 +1,8 @@ -Index: rpmlint-rpmlint-1.10/TagsCheck.py +Index: rpmlint-rpmlint-1.11/TagsCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.10/TagsCheck.py -@@ -462,16 +462,6 @@ so_dep_regex = re.compile(r'\.so(\.[0-9a +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -466,16 +466,6 @@ so_dep_regex = re.compile(r'\.so(\.[0-9a # we assume that no rpm packages existed before rpm itself existed... oldest_changelog_timestamp = calendar.timegm(time.strptime("1995-01-01", "%Y-%m-%d")) @@ -19,7 +19,7 @@ _enchant_checkers = {} -@@ -921,14 +911,6 @@ class TagsCheck(AbstractCheck.AbstractCh +@@ -934,14 +924,6 @@ class TagsCheck(AbstractCheck.AbstractCh res = Pkg.b2s(pkg[getattr(rpm, 'RPMTAG_%s' % tag.upper())]) self._unexpanded_macros(pkg, tag, res) ++++++ suse-spdx-license-exceptions.patch ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.498980738 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.502980736 +0100 @@ -7,11 +7,11 @@ TagsCheck.py | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) -Index: rpmlint-rpmlint-1.10/TagsCheck.py +Index: rpmlint-rpmlint-1.11/TagsCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.10/TagsCheck.py -@@ -139,6 +139,34 @@ DEFAULT_VALID_LICENSES = ( +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -140,6 +140,34 @@ DEFAULT_VALID_LICENSES = ( 'Shareware', ) @@ -46,7 +46,7 @@ BAD_WORDS = { 'alot': 'a lot', 'accesnt': 'accent', -@@ -404,6 +432,7 @@ VALID_GROUPS = Config.getOption('ValidGr +@@ -408,6 +436,7 @@ VALID_GROUPS = Config.getOption('ValidGr if VALID_GROUPS is None: # get defaults from rpm package only if it's not set VALID_GROUPS = Pkg.get_default_valid_rpmgroups() VALID_LICENSES = Config.getOption('ValidLicenses', DEFAULT_VALID_LICENSES) @@ -54,7 +54,7 @@ INVALID_REQUIRES = map(re.compile, Config.getOption('InvalidRequires', DEFAULT_INVALID_REQUIRES)) packager_regex = re.compile(Config.getOption('Packager')) changelog_version_regex = re.compile(r'[^>]([^ >]+)\s*$') -@@ -418,6 +447,7 @@ lib_package_regex = re.compile(r'(?:^(?: +@@ -422,6 +451,7 @@ lib_package_regex = re.compile(r'(?:^(?: leading_space_regex = re.compile(r'^\s+') pkg_config_regex = re.compile(r'^/usr/(?:lib\d*|share)/pkgconfig/') license_regex = re.compile(r'\(([^)]+)\)|\s(?:and|or|AND|OR)\s') @@ -62,7 +62,7 @@ invalid_version_regex = re.compile(r'([0-9](?:rc|alpha|beta|pre).*)', re.IGNORECASE) # () are here for grouping purpose in the regexp forbidden_words_regex = re.compile(r'(%s)' % Config.getOption('ForbiddenWords'), re.IGNORECASE) -@@ -788,6 +818,10 @@ class TagsCheck(AbstractCheck.AbstractCh +@@ -795,6 +825,10 @@ class TagsCheck(AbstractCheck.AbstractCh # printWarning(pkg, 'package-provides-itself') # break @@ -73,7 +73,7 @@ def split_license(license): return (x.strip() for x in (l for l in license_regex.split(license) if l)) -@@ -798,7 +832,17 @@ class TagsCheck(AbstractCheck.AbstractCh +@@ -805,7 +839,17 @@ class TagsCheck(AbstractCheck.AbstractCh else: valid_license = True if rpm_license not in VALID_LICENSES: @@ -92,7 +92,7 @@ if l1 in VALID_LICENSES: continue for l2 in split_license(l1): -@@ -1074,6 +1118,11 @@ your specfile.''', +@@ -1092,6 +1136,11 @@ your specfile.''', '''The value of the License tag was not recognized. Known values are: "%s".''' % '", "'.join(VALID_LICENSES), ++++++ suse-speccheck-utf8.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.510980729 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.510980729 +0100 @@ -7,11 +7,11 @@ SpecCheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: rpmlint-rpmlint-1.10/SpecCheck.py +Index: rpmlint-rpmlint-1.11/SpecCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/SpecCheck.py -+++ rpmlint-rpmlint-1.10/SpecCheck.py -@@ -648,8 +648,8 @@ SPEC file to build a valid RPM package.' +--- rpmlint-rpmlint-1.11.orig/SpecCheck.py ++++ rpmlint-rpmlint-1.11/SpecCheck.py +@@ -642,8 +642,8 @@ SPEC file to build a valid RPM package.' ("Name:" tag). Either rename your package or the specfile.''', 'non-utf8-spec-file', ++++++ suse-tests-without-badness.patch ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.518980722 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.518980722 +0100 @@ -1,7 +1,7 @@ -Index: rpmlint-rpmlint-1.10/test.sh +Index: rpmlint-rpmlint-1.11/test.sh =================================================================== ---- rpmlint-rpmlint-1.10.orig/test.sh -+++ rpmlint-rpmlint-1.10/test.sh +--- rpmlint-rpmlint-1.11.orig/test.sh ++++ rpmlint-rpmlint-1.11/test.sh @@ -19,7 +19,10 @@ for i in $TESTPATH/test.*.py; do fi done @@ -14,7 +14,7 @@ echo "Check that rpmlint executes with no unexpected errors" echo "...in default locale" -@@ -40,10 +46,6 @@ $PYTEST -v || exit $? +@@ -40,10 +43,6 @@ $PYTEST -v || exit $? unset PYTHONWARNINGS @@ -25,11 +25,11 @@ echo "man page tests" if man --help 2>&1 | grep -q -- --warnings; then tmpfile=$(mktemp) || exit 1 -Index: rpmlint-rpmlint-1.10/rpmlint +Index: rpmlint-rpmlint-1.11/rpmlint =================================================================== ---- rpmlint-rpmlint-1.10.orig/rpmlint -+++ rpmlint-rpmlint-1.10/rpmlint -@@ -269,8 +269,10 @@ if not os.path.exists(os.path.expanduser +--- rpmlint-rpmlint-1.11.orig/rpmlint ++++ rpmlint-rpmlint-1.11/rpmlint +@@ -267,8 +267,10 @@ conf_file = _default_user_conf info_error = set() # load global config files ++++++ suse-url-check.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.526980716 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.530980713 +0100 @@ -7,11 +7,11 @@ TagsCheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: rpmlint-rpmlint-1.9/TagsCheck.py +Index: rpmlint-rpmlint-1.11/TagsCheck.py =================================================================== ---- rpmlint-rpmlint-1.9.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.9/TagsCheck.py -@@ -796,7 +796,7 @@ class TagsCheck(AbstractCheck.AbstractCh +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -803,7 +803,7 @@ class TagsCheck(AbstractCheck.AbstractCh if not valid_license: self._unexpanded_macros(pkg, 'License', rpm_license) @@ -20,12 +20,3 @@ if hasattr(rpm, 'RPMTAG_%s' % tag.upper()): url = Pkg.b2s(pkg[getattr(rpm, 'RPMTAG_%s' % tag.upper())]) self._unexpanded_macros(pkg, tag, url, is_url=True) -@@ -1106,7 +1106,7 @@ once.''', - '''This rpm requires a specific release of another package.''', - - 'no-url-tag', --'''The URL tag is missing.''', -+'''The URL tag is missing. Please add a http or ftp link to the project location.''', - - 'name-repeated-in-summary', - '''The name of the package is repeated in its summary. This is often redundant ++++++ suse-version.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.538980706 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.538980706 +0100 @@ -7,11 +7,11 @@ SpecCheck.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -Index: rpmlint-rpmlint-1.10/SpecCheck.py +Index: rpmlint-rpmlint-1.11/SpecCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/SpecCheck.py -+++ rpmlint-rpmlint-1.10/SpecCheck.py -@@ -51,6 +51,7 @@ packager_regex = re_tag_compile('Package +--- rpmlint-rpmlint-1.11.orig/SpecCheck.py ++++ rpmlint-rpmlint-1.11/SpecCheck.py +@@ -49,6 +49,7 @@ packager_regex = re_tag_compile('Package buildarch_regex = re_tag_compile('BuildArch(?:itectures)?') buildprereq_regex = re_tag_compile('BuildPreReq') prereq_regex = re_tag_compile(r'PreReq(\(.*\))') @@ -19,7 +19,7 @@ make_check_regex = re.compile(r'(^|\s|%{?__)make}?\s+(check|test)') rm_regex = re.compile(r'(^|\s)((.*/)?rm|%{?__rm}?) ') -@@ -391,6 +392,12 @@ class SpecCheck(AbstractCheck.AbstractCh +@@ -389,6 +390,12 @@ class SpecCheck(AbstractCheck.AbstractCh if not res.group(1).startswith('%'): printWarning(pkg, 'hardcoded-prefix-tag', res.group(1)) ++++++ yast-provides.diff ++++++ --- /var/tmp/diff_new_pack.VBKSor/_old 2019-01-26 22:19:50.554980693 +0100 +++ /var/tmp/diff_new_pack.VBKSor/_new 2019-01-26 22:19:50.558980689 +0100 @@ -7,11 +7,11 @@ TagsCheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: rpmlint-rpmlint-1.10/TagsCheck.py +Index: rpmlint-rpmlint-1.11/TagsCheck.py =================================================================== ---- rpmlint-rpmlint-1.10.orig/TagsCheck.py -+++ rpmlint-rpmlint-1.10/TagsCheck.py -@@ -859,7 +859,7 @@ class TagsCheck(AbstractCheck.AbstractCh +--- rpmlint-rpmlint-1.11.orig/TagsCheck.py ++++ rpmlint-rpmlint-1.11/TagsCheck.py +@@ -866,7 +866,7 @@ class TagsCheck(AbstractCheck.AbstractCh printWarning(pkg, 'no-url-tag') obs_names = [x[0] for x in pkg.obsoletes()]
