SHA256
1
0
forked from pool/rpmlint
Dirk Mueller 2011-05-20 11:13:43 +00:00 committed by Git OBS Bridge
parent f659362342
commit a5154dc7c4

View File

@ -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: