diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-03-24 05:51:55 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-10-14 10:51:24 +0200 |
commit | 5488e8c8ba4b6a9064bb4d70937ea2ed713d8b06 (patch) | |
tree | 9e0b81f0d4094cd4e8b5dc3c2d10252b8ac1f3ea | |
parent | e134398e5535ddf0e4fbda067eeffd7581a9b339 (diff) | |
download | perl-URPM-5488e8c8ba4b6a9064bb4d70937ea2ed713d8b06.tar perl-URPM-5488e8c8ba4b6a9064bb4d70937ea2ed713d8b06.tar.gz perl-URPM-5488e8c8ba4b6a9064bb4d70937ea2ed713d8b06.tar.bz2 perl-URPM-5488e8c8ba4b6a9064bb4d70937ea2ed713d8b06.tar.xz perl-URPM-5488e8c8ba4b6a9064bb4d70937ea2ed713d8b06.zip |
reports obsoletes issues too
RPMPROB_OBSOLETE was added in rpm-4.9.0 (5 years ago) but wasn't handled
until now
-rw-r--r-- | URPM.xs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -705,6 +705,9 @@ return_problems(rpmps ps, int translate_message, int raw_message) { case RPMPROB_CONFLICT: sv = newSVpvf("conflicts@%s@%s", pkgNEVR, altNEVR+2); break; + case RPMPROB_OBSOLETES: + sv = newSVpvf("obsoletes@%s@%s", pkgNEVR, altNEVR+2); break; + default: sv = newSVpvf("unknown@%s", pkgNEVR); break; } |