forked from pool/rpmlint
works better
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=25
This commit is contained in:
parent
f659362342
commit
a5154dc7c4
@ -381,7 +381,7 @@ class LibraryPolicyCheck(AbstractCheck.AbstractCheck):
|
|||||||
soname = libs.copy().pop()
|
soname = libs.copy().pop()
|
||||||
libname = libname_from_soname (soname)
|
libname = libname_from_soname (soname)
|
||||||
if libname.startswith('lib') and pkg.name != libname and \
|
if libname.startswith('lib') and pkg.name != libname and \
|
||||||
not (pkg.name in (libname + "-mini"), ):
|
pkg.name != libname + "-mini":
|
||||||
if libname in _policy_legacy_exceptions:
|
if libname in _policy_legacy_exceptions:
|
||||||
printWarning(pkg, 'shlib-legacy-policy-name-error', libname)
|
printWarning(pkg, 'shlib-legacy-policy-name-error', libname)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user