summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authormsw <devnull@localhost>2000-05-02 18:07:59 +0000
committermsw <devnull@localhost>2000-05-02 18:07:59 +0000
commita2891ff2c64d639f8f70798abcc365df7ad724c4 (patch)
tree6541a9dbbcef9c6403865d4f1fb106f3402b074e /python
parentf5848782698ffc0082ded9fa8fa3e2ac880a0914 (diff)
downloadrpm-a2891ff2c64d639f8f70798abcc365df7ad724c4.tar.gz
rpm-a2891ff2c64d639f8f70798abcc365df7ad724c4.tar.bz2
rpm-a2891ff2c64d639f8f70798abcc365df7ad724c4.zip
compress filelist, fixup provides
CVS patchset: 3717 CVS date: 2000/05/02 18:07:59
Diffstat (limited to 'python')
-rw-r--r--python/rpmmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 1511ae9eb..290ddde03 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -596,6 +596,9 @@ static PyObject * rpmReadHeaders (FD_t fd) {
list = PyList_New(0);
Py_BEGIN_ALLOW_THREADS
header = headerRead(fd, HEADER_MAGIC_YES);
+ compressFilelist (header);
+ providePackageNVR (header);
+
Py_END_ALLOW_THREADS
while (header) {
h = (hdrObject *) PyObject_NEW(PyObject, &hdrType);
@@ -613,6 +616,8 @@ static PyObject * rpmReadHeaders (FD_t fd) {
Py_BEGIN_ALLOW_THREADS
header = headerRead(fd, HEADER_MAGIC_YES);
+ compressFilelist (header);
+ providePackageNVR (header);
Py_END_ALLOW_THREADS
}