compress filelist, fixup provides
authormsw <devnull@localhost>
Tue, 2 May 2000 18:07:59 +0000 (18:07 +0000)
committermsw <devnull@localhost>
Tue, 2 May 2000 18:07:59 +0000 (18:07 +0000)
CVS patchset: 3717
CVS date: 2000/05/02 18:07:59

python/rpmmodule.c

index 1511ae9..290ddde 100644 (file)
@@ -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
     }