]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
support REPOKEYWORDS in the content parser
authorMichael Schroeder <mls@suse.de>
Wed, 12 Mar 2014 14:34:02 +0000 (15:34 +0100)
committerMichael Schroeder <mls@suse.de>
Wed, 12 Mar 2014 14:34:02 +0000 (15:34 +0100)
ext/repo_content.c

index 021c3b2e69b9c1a99ff307c8548e92691a3bb8da..2ce69409debf2a967532861721f3f48e3e695b9b 100644 (file)
@@ -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);