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 021c3b2..2ce6940 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);