summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-12 15:34:02 +0100
committerMichael Schroeder <mls@suse.de>2014-03-12 15:34:02 +0100
commit2d84f3efc00621de607022f3d7bb91f6c109fc69 (patch)
treedbb061528d162cbba087d02a445165ce5fec8709
parent372f8da38bc4b10f0f42488fa5b31bb640521779 (diff)
downloadlibsolv-2d84f3efc00621de607022f3d7bb91f6c109fc69.tar.gz
libsolv-2d84f3efc00621de607022f3d7bb91f6c109fc69.tar.bz2
libsolv-2d84f3efc00621de607022f3d7bb91f6c109fc69.zip
support REPOKEYWORDS in the content parser
-rw-r--r--ext/repo_content.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/repo_content.c b/ext/repo_content.c
index 021c3b2..2ce6940 100644
--- a/ext/repo_content.c
+++ b/ext/repo_content.c
@@ -290,6 +290,11 @@ repo_add_content(Repo *repo, FILE *fp, int flags)
repodata_add_poolstr_array(data, SOLVID_META, REPOSITORY_REPOID, value);
continue;
}
+ if (istag ("REPOKEYWORDS"))
+ {
+ add_multiple_strings(data, SOLVID_META, REPOSITORY_KEYWORDS, value);
+ continue;
+ }
if (istag ("DISTRO"))
{
Id dh = repodata_new_handle(data);