--- pym/repoman/checks.py +++ pym/repoman/checks.py @@ -682,8 +682,8 @@ error = errors.NO_AS_NEEDED class PreserveOldLib(LineCheck): - """Check for calls to the preserve_old_lib function.""" - repoman_check_name = 'upstream.workaround' + """Check for calls to the deprecated preserve_old_lib function.""" + repoman_check_name = 'ebuild.minorsym' re = re.compile(r'.*preserve_old_lib') error = errors.PRESERVE_OLD_LIB --- pym/repoman/errors.py +++ pym/repoman/errors.py @@ -19,7 +19,7 @@ DEPRECATED_BINDNOW_FLAGS = 'Deprecated bindnow-flags call on line: %d' EAPI_DEFINED_AFTER_INHERIT = 'EAPI defined after inherit on line: %d' NO_AS_NEEDED = 'Upstream asneeded linking bug (no-as-needed on line: %d)' -PRESERVE_OLD_LIB = 'Upstream ABI change workaround on line: %d' +PRESERVE_OLD_LIB = 'Ebuild calls deprecated preserve_old_lib on line: %d' BUILT_WITH_USE = 'built_with_use on line: %d' NO_OFFSET_WITH_HELPERS = "Helper function is used with D, ROOT, ED, EROOT or EPREFIX on line :%d" SANDBOX_ADDPREDICT = 'Ebuild calls addpredict on line: %d'