From b4c0626b6c0a4cecf4a742c9db0df186273d8457809abd9b143d40163e1d2115 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 14 Jan 2019 08:25:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=650 --- suse-binarieschecks.diff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/suse-binarieschecks.diff b/suse-binarieschecks.diff index 9e42485..dc6e965 100644 --- a/suse-binarieschecks.diff +++ b/suse-binarieschecks.diff @@ -45,11 +45,11 @@ Index: rpmlint-rpmlint-1.11/BinariesCheck.py 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 + @@ -60,7 +60,7 @@ Index: rpmlint-rpmlint-1.11/BinariesCheck.py 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: