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/rpmte.c | |
parent | e4f77b40107fde36d6cbbbfd3b547c9e3b853789 (diff) | |
download | librpm-tizen-fa4d3f9cc9412dee033a6f9925280ca8e078a92a.tar.gz librpm-tizen-fa4d3f9cc9412dee033a6f9925280ca8e078a92a.tar.bz2 librpm-tizen-fa4d3f9cc9412dee033a6f9925280ca8e078a92a.zip |
Add a new problem type for obsoletes
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r-- | lib/rpmte.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c index 1a02ef14e..b6d958b8b 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -742,6 +742,7 @@ void rpmteAddDepProblem(rpmte te, const char * pkgNEVR, rpmds ds, te->probs = rpmpsCreate(); switch ((unsigned)DNEVR[0]) { + case 'O': type = RPMPROB_OBSOLETES; break; case 'C': type = RPMPROB_CONFLICT; break; default: case 'R': type = RPMPROB_REQUIRES; break; |