summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsw <devnull@localhost>2000-05-17 05:35:18 +0000
committermsw <devnull@localhost>2000-05-17 05:35:18 +0000
commit3eeb37f5f647dbb6a457086e0476cfc51d303270 (patch)
treee033bd202117edda2ea37e9c10330682940a1597
parenta71ac24efb57d2fe9c69f41c6ba25d6f5fdaac68 (diff)
downloadlibrpm-tizen-3eeb37f5f647dbb6a457086e0476cfc51d303270.tar.gz
librpm-tizen-3eeb37f5f647dbb6a457086e0476cfc51d303270.tar.bz2
librpm-tizen-3eeb37f5f647dbb6a457086e0476cfc51d303270.zip
fixup headers when loading them
CVS patchset: 3737 CVS date: 2000/05/17 05:35:18
-rw-r--r--python/rpmmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 8db0d140a..d7238f66d 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -650,6 +650,8 @@ static PyObject * hdrLoad(PyObject * self, PyObject * args) {
PyErr_SetString(pyrpmError, "bad header");
return NULL;
}
+ compressFilelist (hdr);
+ providePackageNVR (hdr);
h = (hdrObject *) PyObject_NEW(PyObject, &hdrType);
h->h = hdr;