forked from pool/rpmlint
14 lines
773 B
Diff
14 lines
773 B
Diff
|
Index: rpmlint-rpmlint-1.10/TagsCheck.py
|
||
|
===================================================================
|
||
|
--- rpmlint-rpmlint-1.10.orig/TagsCheck.py
|
||
|
+++ rpmlint-rpmlint-1.10/TagsCheck.py
|
||
|
@@ -673,7 +673,7 @@ class TagsCheck(AbstractCheck.AbstractCh
|
||
|
base_or_libs = base + '*' + '/' + base + '-libs/lib' + base + '*'
|
||
|
# try to match *%_isa as well (e.g. "(x86-64)", "(x86-32)")
|
||
|
base_or_libs_re = re.compile(
|
||
|
- r'^(lib)?%s(-libs)?[\d_]*(\(\w+-\d+\))?$' % re.escape(base))
|
||
|
+ r'^(lib)?%s(-libs)?[\d_-]*(\(\w+-\d+\))?$' % re.escape(base))
|
||
|
for d in deps:
|
||
|
if base_or_libs_re.match(d[0]):
|
||
|
dep = d
|