diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-12 15:34:02 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-12 15:34:02 +0100 |
commit | 2d84f3efc00621de607022f3d7bb91f6c109fc69 (patch) | |
tree | dbb061528d162cbba087d02a445165ce5fec8709 /ext | |
parent | 372f8da38bc4b10f0f42488fa5b31bb640521779 (diff) | |
download | libsolv-2d84f3efc00621de607022f3d7bb91f6c109fc69.tar.gz libsolv-2d84f3efc00621de607022f3d7bb91f6c109fc69.tar.bz2 libsolv-2d84f3efc00621de607022f3d7bb91f6c109fc69.zip |
support REPOKEYWORDS in the content parser
Diffstat (limited to 'ext')
-rw-r--r-- | ext/repo_content.c | 5 |
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); |