From 49cbc17bf7b99be586e158c1bd588cfe91dfe58c Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Thu, 8 Aug 2013 10:31:49 -0700 Subject: [PATCH] repoman: change preserve_old_lib msg, bug #480244 --- pym/repoman/checks.py | 4 ++-- pym/repoman/errors.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index c55258165..c60db3d02 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -682,8 +682,8 @@ class NoAsNeeded(LineCheck): 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.minorsyn' re = re.compile(r'.*preserve_old_lib') error = errors.PRESERVE_OLD_LIB diff --git a/pym/repoman/errors.py b/pym/repoman/errors.py index 51ffeb838..3833be671 100644 --- a/pym/repoman/errors.py +++ b/pym/repoman/errors.py @@ -19,7 +19,7 @@ EMAKE_PARALLEL_DISABLED_VIA_MAKEOPTS = 'Upstream parallel compilation bug (MAKEO 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' -- 2.26.2