From: Michael Schroeder Date: Thu, 16 Feb 2012 15:40:35 +0000 (+0100) Subject: - comps: use group: and category: instead of pattern: X-Git-Tag: BASE-SuSE-Code-12_2-Branch~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f573dbe7b2c1e98d2961b931b125bec85d01462;p=thirdparty%2Flibsolv.git - comps: use group: and category: instead of pattern: --- diff --git a/ext/repo_comps.c b/ext/repo_comps.c index c86089a0..8f364ddc 100644 --- a/ext/repo_comps.c +++ b/ext/repo_comps.c @@ -263,7 +263,7 @@ endElement(void *userData, const char *name) case STATE_ID: case STATE_CID: - s->name = pool_str2id(pd->pool, join2(&pd->jd, "pattern", ":", pd->content), 1); + s->name = pool_str2id(pd->pool, join2(&pd->jd, pd->state == STATE_ID ? "group" : "category", ":", pd->content), 1); break; case STATE_NAME: @@ -284,7 +284,7 @@ endElement(void *userData, const char *name) break; case STATE_GROUPID: - id = pool_str2id(pd->pool, join2(&pd->jd, "pattern", ":", pd->content), 1); + id = pool_str2id(pd->pool, join2(&pd->jd, "group", ":", pd->content), 1); s->requires = repo_addid_dep(pd->repo, s->requires, id, 0); break;