- add support for homepage aka (solvable:url)
authorMichael Schroeder <mls@suse.de>
Tue, 30 Jun 2009 16:07:47 +0000 (18:07 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 30 Jun 2009 16:07:47 +0000 (18:07 +0200)
ext/repo_deb.c

index e35740c..2bd3f4c 100644 (file)
@@ -232,6 +232,10 @@ control2solvable(Solvable *s, Repodata *data, char *control)
          if (!strcasecmp(tag, "enhances"))
            s->enhances = makedeps(repo, q, s->enhances, 0);
          break;
+       case 'H' << 8 | 'O':
+         if (!strcasecmp(tag, "homepage"))
+           repodata_set_str(data, s - pool->solvables, SOLVABLE_URL, q);
+         break;
        case 'I' << 8 | 'N':
          if (!strcasecmp(tag, "installed-size"))
            repodata_set_num(data, s - pool->solvables, SOLVABLE_INSTALLSIZE, atoi(q));