Use rpmpsNumProblems() instead of directly accessing probs->numProblems
authorPanu Matilainen <pmatilai@turre.koti.laiskiainen.org>
Tue, 10 Jul 2007 18:54:54 +0000 (21:54 +0300)
committerPanu Matilainen <pmatilai@turre.koti.laiskiainen.org>
Tue, 10 Jul 2007 18:54:54 +0000 (21:54 +0300)
commit27a9c3ad80d2b4218001e769174a2e98a9d09dac
treee4bc8cf9f079a1048c9c4c29c8774cb30b4e476d
parent89fa6cdce93c499092a2073a4f87af02012121d8
Use rpmpsNumProblems() instead of directly accessing probs->numProblems
in all rpm versions since 4.1, fixing it also for rpm >= 4.4.6.
Additionally 4.4.6 and newer don't appear to have RPMTRANS_FLAG_NOMD5.
Patch from João Abecasis.
apt-pkg/rpm/rpmpm.cc