forked from pool/rpmlint
20 lines
837 B
Diff
20 lines
837 B
Diff
|
---
|
||
|
BinariesCheck.py | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
Index: BinariesCheck.py
|
||
|
===================================================================
|
||
|
--- BinariesCheck.py.orig
|
||
|
+++ BinariesCheck.py
|
||
|
@@ -26,8 +26,8 @@ class BinaryInfo:
|
||
|
needed_regex=re.compile('\s+\(NEEDED\).*\[(\S+)\]')
|
||
|
rpath_regex=re.compile('\s+\(RPATH\).*\[(\S+)\]')
|
||
|
soname_regex=re.compile('\s+\(SONAME\).*\[(\S+)\]')
|
||
|
- comment_regex=re.compile('^\s+\[\d+\]\s+\.comment\s+')
|
||
|
- pic_regex=re.compile('^\s+\[\d+\]\s+\.rela?\.(data|text)')
|
||
|
+ comment_regex=re.compile('^\s+\[\s*\d+\]\s+\.comment\s+')
|
||
|
+ pic_regex=re.compile('^\s+\[\s*\d+\]\s+\.rela?\.(data|text)')
|
||
|
non_pic_regex=re.compile('TEXTREL', re.MULTILINE)
|
||
|
undef_regex=re.compile('^undefined symbol:\s+(\S+)')
|
||
|
unused_regex=re.compile('^\s+(\S+)')
|