SHA256
1
0
forked from pool/rpmlint
rpmlint/suse-shlib-devel-dependency.diff

15 lines
692 B
Diff

--- TagsCheck.py
+++ TagsCheck.py
@@ -524,9 +524,9 @@ class TagsCheck(AbstractCheck.AbstractCheck):
has_so=1
break
if has_so:
- base_or_libs = base + '/' + base + '-libs/lib' + base
+ base_or_libs = base + '*/' + base + '-libs/lib' + base
for d in deps:
- if d[0] == base or d[0] == base + '-libs' or d[0] == 'lib' + base:
+ if d[0] == base or d[0] == base + '-libs' or d[0] == 'lib' + base or d[0].startswith(base):
dep=d
break
if not dep: