ref: refs/heads/master commit 5ec2034b49c06839193796e965e4fd94ea2b5ddd Author: Michael Schroeder <mls@suse.de> Date: Wed Oct 14 16:20:49 2009 +0200 - ignore products element so that repo2solv works --- ext/repo_rpmmd.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ext/repo_rpmmd.c b/ext/repo_rpmmd.c index f0b63a4..7b8965b 100644 --- a/ext/repo_rpmmd.c +++ b/ext/repo_rpmmd.c @@ -640,6 +640,8 @@ startElement(void *userData, const char *name, const char **atts) if (pd->state == STATE_START && !strcmp(name, "patterns")) return; + if (pd->state == STATE_START && !strcmp(name, "products")) + return; //if (pd->state == STATE_START && !strcmp(name, "metadata")) // return; if (pd->state == STATE_SOLVABLE && !strcmp(name, "format")) @@ -886,6 +888,8 @@ endElement(void *userData, const char *name) /* ignore patterns & metadata */ if (pd->state == STATE_START && !strcmp(name, "patterns")) return; + if (pd->state == STATE_START && !strcmp(name, "products")) + return; //if (pd->state == STATE_START && !strcmp(name, "metadata")) // return; if (pd->state == STATE_SOLVABLE && !strcmp(name, "format")) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org