13 lines
691 B
Diff
13 lines
691 B
Diff
diff -up rpmlint-rpmlint-1.8/TagsCheck.py.epathfix rpmlint-rpmlint-1.8/TagsCheck.py
|
|
--- rpmlint-rpmlint-1.8/TagsCheck.py.epathfix 2015-11-30 13:59:57.338676145 -0500
|
|
+++ rpmlint-rpmlint-1.8/TagsCheck.py 2015-11-30 14:00:08.181558438 -0500
|
|
@@ -435,7 +435,7 @@ private_so_paths = set()
|
|
for path in ('%perl_archlib', '%perl_vendorarch', '%perl_sitearch',
|
|
'%python_sitearch', '%ruby_sitearch', '%php_extdir'):
|
|
epath = rpm.expandMacro(path)
|
|
- if epath != path:
|
|
+ if epath and epath != path:
|
|
private_so_paths.add(epath)
|
|
private_so_paths.add(re.sub(r'/lib64(?=/|$)', '/lib', epath))
|
|
private_so_paths.add(re.sub(r'/lib(?=/|$)', '/lib64', epath))
|