fix evr/arch mixup
authorKlaus Kaempf <kkaempf@suse.de>
Thu, 10 Apr 2008 11:23:27 +0000 (11:23 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Thu, 10 Apr 2008 11:23:27 +0000 (11:23 +0000)
tools/repo_updateinfoxml.c

index 785c74396455b3c6b9e99bbdcd6124a0678d692e..ec76ff3dfe90b89c4d153ddb63d8a63de2c25147 100644 (file)
@@ -397,8 +397,8 @@ startElement(void *userData, const char *name, const char **atts)
        solvable->conflicts = repo_addid_dep(pd->repo, solvable->conflicts, rel_id, 0);
 #if DO_ARRAY
        repodata_add_idarray(pd->data, pd->datanum, UPDATE_COLLECTION_NAME, n);
-       repodata_add_idarray(pd->data, pd->datanum, UPDATE_COLLECTION_EVR, a);
-       repodata_add_idarray(pd->data, pd->datanum, UPDATE_COLLECTION_ARCH, evr);
+       repodata_add_idarray(pd->data, pd->datanum, UPDATE_COLLECTION_EVR, evr);
+       repodata_add_idarray(pd->data, pd->datanum, UPDATE_COLLECTION_ARCH, a);
 #else
        /* _FILENAME and _FLAGS are written at </package> */
         if (1) {