diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-18 13:15:30 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-18 13:20:44 +0200 |
commit | fa4d3f9cc9412dee033a6f9925280ca8e078a92a (patch) | |
tree | d28d682c693931e5d97f3b4f62c8f59c4d3cb373 /lib/rpmps.c | |
parent | e4f77b40107fde36d6cbbbfd3b547c9e3b853789 (diff) | |
download | rpm-fa4d3f9cc9412dee033a6f9925280ca8e078a92a.tar.gz |
Add a new problem type for obsoletes
Diffstat (limited to 'lib/rpmps.c')
-rw-r--r-- | lib/rpmps.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rpmps.c b/lib/rpmps.c index bcee73243..9796d71a0 100644 --- a/lib/rpmps.c +++ b/lib/rpmps.c @@ -367,6 +367,11 @@ char * rpmProblemString(const rpmProblem prob) altNEVR+2, (prob->num1 ? "" : _("(installed) ")), pkgNEVR); break; + case RPMPROB_OBSOLETES: + rc = rasprintf(&buf, _("%s is obsoleted by %s%s"), + altNEVR+2, + (prob->num1 ? "" : _("(installed) ")), pkgNEVR); + break; default: rc = rasprintf(&buf, _("unknown error %d encountered while manipulating package %s"), |