summaryrefslogtreecommitdiff
path: root/python/upgrade.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-07-11 03:46:56 +0000
committerjbj <devnull@localhost>2000-07-11 03:46:56 +0000
commit2380ca4893a57e8f9af1073c3ed7d3c326f7382e (patch)
tree335f478d638fc9f56cfcc6141b193abf2ce37828 /python/upgrade.c
parent7344a127255792114d649bc3f0d1fab6b517605e (diff)
downloadlibrpm-tizen-2380ca4893a57e8f9af1073c3ed7d3c326f7382e.tar.gz
librpm-tizen-2380ca4893a57e8f9af1073c3ed7d3c326f7382e.tar.bz2
librpm-tizen-2380ca4893a57e8f9af1073c3ed7d3c326f7382e.zip
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
Diffstat (limited to 'python/upgrade.c')
-rw-r--r--python/upgrade.c2
1 files changed, 1 insertions, 1 deletions
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