From 2380ca4893a57e8f9af1073c3ed7d3c326f7382e Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 11 Jul 2000 03:46:56 +0000 Subject: fix: source rpm's need to do compressFilelist to get filenames. fix: python should use RPMTAG_OBSOLETESNAME, not RPMTAG_OBSOLETES. CVS patchset: 3934 CVS date: 2000/07/11 03:46:56 --- python/upgrade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/upgrade.c') diff --git a/python/upgrade.c b/python/upgrade.c index a2db940a4..7a09b68ca 100644 --- a/python/upgrade.c +++ b/python/upgrade.c @@ -180,7 +180,7 @@ static int findPackagesWithObsoletes(rpmdb db, struct pkgSet *psp) continue; } - if (headerGetEntryMinMemory((*pip)->h, RPMTAG_OBSOLETES, NULL, + if (headerGetEntryMinMemory((*pip)->h, RPMTAG_OBSOLETENAME, NULL, (void **) &obsoletes, &obsoletesCount)) { while (obsoletesCount--) { #ifdef DYING -- cgit v1.2.3