- Update to version 84.87+git20170928.d2c55ee:

* Remove some outdated sysv init check, we have switched to systemd
- add suse-skip-macro-expansion.diff: rename from remove-expand-macros.diff

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=483
This commit is contained in:
Dirk Mueller 2017-09-28 18:23:54 +00:00 committed by Git OBS Bridge
parent 1cdbc13b57
commit 4fa0fae5a0
12 changed files with 26 additions and 65 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">http://github.com/openSUSE/rpmlint-tests.git</param>
<param name="changesrevision">092177d4fccb48dfb4164faddf11442b63249bff</param></service><service name="tar_scm">
<param name="changesrevision">d2c55ee87053a52d81b33cca0d760fa99588d155</param></service><service name="tar_scm">
<param name="url">http://github.com/openSUSE/rpmlint-checks.git</param>
<param name="changesrevision">8d8fc8774ada96397e437d451b2461b64338db08</param></service></servicedata>

View File

@ -1,15 +1,3 @@
From: Some One <nobody@opensuse.org>
Date: Thu, 9 Apr 2015 14:55:39 +0200
Subject: [PATCH] add-weak-dependencies.diff
===================================================================
---
Pkg.py | 29 +++++++++++++++++++++++++++--
TagsCheck.py | 19 +++++++++++++++++++
2 files changed, 46 insertions(+), 2 deletions(-)
Index: rpmlint-rpmlint-1.10/Pkg.py
===================================================================
--- rpmlint-rpmlint-1.10.orig/Pkg.py
+++ rpmlint-rpmlint-1.10/Pkg.py
@@ -494,6 +494,10 @@ class Pkg(AbstractPkg):

View File

@ -1,14 +1,3 @@
From: Some One <nobody@opensuse.org>
Date: Thu, 9 Apr 2015 14:55:38 +0200
Subject: [PATCH] better-wrong-script.diff
===================================================================
---
FilesCheck.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Index: rpmlint-rpmlint-1.9/FilesCheck.py
===================================================================
--- rpmlint-rpmlint-1.9.orig/FilesCheck.py
+++ rpmlint-rpmlint-1.9/FilesCheck.py
@@ -1249,7 +1249,10 @@ executed.''',

View File

@ -1,14 +1,3 @@
From: Some One <nobody@opensuse.org>
Date: Thu, 9 Apr 2015 14:55:38 +0200
Subject: [PATCH] buildroot-doc.diff
===================================================================
---
SpecCheck.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: rpmlint-rpmlint-1.10/SpecCheck.py
===================================================================
--- rpmlint-rpmlint-1.10.orig/SpecCheck.py
+++ rpmlint-rpmlint-1.10/SpecCheck.py
@@ -670,7 +670,7 @@ versions you can ignore this warning.'''

View File

@ -1,14 +1,3 @@
From: Some One <nobody@opensuse.org>
Date: Thu, 9 Apr 2015 14:55:39 +0200
Subject: [PATCH] buildroot-in-scripts.diff
===================================================================
---
SpecCheck.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: rpmlint-rpmlint-1.10/SpecCheck.py
===================================================================
--- rpmlint-rpmlint-1.10.orig/SpecCheck.py
+++ rpmlint-rpmlint-1.10/SpecCheck.py
@@ -235,7 +235,9 @@ class SpecCheck(AbstractCheck.AbstractCh

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31d10b7286df08b73336c314ade702381f09913ad141a6a2b5c16cefe3ddf784
size 11452

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:300fe9dd0a582aac7536644fdcac5859b8be789015975443e0d415f25f2a0927
size 11260

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 28 12:47:02 UTC 2017 - opensuse-packaging@opensuse.org
- Update to version 84.87+git20170928.d2c55ee:
* Remove some outdated sysv init check, we have switched to systemd
-------------------------------------------------------------------
Sun Jul 2 16:30:01 UTC 2017 - meissner@suse.com

View File

@ -23,7 +23,7 @@ BuildRequires: rpmlint-Factory-strict
BuildRequires: rpmlint-mini
Name: rpmlint-tests
Version: 84.87+git20170418.092177d
Version: 84.87+git20170928.d2c55ee
Release: 0
Summary: rpmlint regression tests
License: SUSE-Public-Domain

View File

@ -158,6 +158,7 @@ Thu Sep 28 09:37:04 UTC 2017 - dmueller@suse.com
suse-filesystem.diff: obsolete
- drop update_git.sh related stuff: this is obsolete, patches are
either supposed to be upstreamed or handled via quilt
- add suse-skip-macro-expansion.diff: rename from remove-expand-macros.diff
-------------------------------------------------------------------
Thu Sep 28 09:31:24 UTC 2017 - opensuse-packaging@opensuse.org

View File

@ -68,6 +68,7 @@ Patch07: suse-binarieschecks.diff
Patch08: no-doc-for-lib.diff
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

View File

@ -42,19 +42,17 @@ Index: rpmlint-rpmlint-1.10/BinariesCheck.py
self.tail = ''
self.setgid = False
@@ -167,6 +174,11 @@ class BinaryInfo(object):
if ret:
self.forbidden_calls.append(r_name)
@@ -161,6 +168,9 @@ class BinaryInfo(object):
if BinaryInfo.chroot_call_regex.search(l):
self.chroot = True
+ r = BinaryInfo.gethostbyname_call_regex.search(l)
+ if r:
+ if BinaryInfo.gethostbyname_call_regex.search(l):
+ self.calls_gethostbyname = True
+ continue
+
if is_shlib:
r = BinaryInfo.exit_call_regex.search(l)
if r:
@@ -177,6 +189,14 @@ class BinaryInfo(object):
if BinaryInfo.forbidden_functions:
for r_name, func in BinaryInfo.forbidden_functions.items():
ret = func['f_regex'].search(l)
@@ -177,6 +187,14 @@ class BinaryInfo(object):
fork_called = True
continue
@ -69,7 +67,7 @@ Index: rpmlint-rpmlint-1.10/BinariesCheck.py
# check if we don't have a string that will automatically
# waive the presence of a forbidden call
if self.forbidden_calls:
@@ -392,13 +412,26 @@ class BinariesCheck(AbstractCheck.Abstra
@@ -392,13 +410,26 @@ class BinariesCheck(AbstractCheck.Abstra
continue
# stripped ?
@ -97,7 +95,7 @@ Index: rpmlint-rpmlint-1.10/BinariesCheck.py
if is_shlib:
has_lib = True
@@ -453,6 +486,10 @@ class BinariesCheck(AbstractCheck.Abstra
@@ -453,6 +484,10 @@ class BinariesCheck(AbstractCheck.Abstra
printWarning(pkg, ec, fname,
BinaryInfo.forbidden_functions[ec]['f_name'])
@ -108,7 +106,7 @@ Index: rpmlint-rpmlint-1.10/BinariesCheck.py
# rpath ?
if bin_info.rpath:
for p in bin_info.rpath:
@@ -666,6 +703,14 @@ with the intended shared libraries only.
@@ -666,6 +701,14 @@ with the intended shared libraries only.
'ldd-failed',
'''Executing ldd on this file failed, all checks could not be run.''',
@ -123,7 +121,7 @@ Index: rpmlint-rpmlint-1.10/BinariesCheck.py
'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 +723,10 @@ don\'t define a proper .note.GNU-stack s
@@ -678,6 +721,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.''',
@ -134,7 +132,7 @@ Index: rpmlint-rpmlint-1.10/BinariesCheck.py
'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 +745,12 @@ that use prelink, make sure that prelink
@@ -696,6 +743,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''',