Dirk Mueller 2019-01-14 08:25:33 +00:00 committed by Git OBS Bridge
parent 1dfb1bbf55
commit b4c0626b6c

View File

@ -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: