projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb32bc
)
- add support for homepage aka (solvable:url)
author
Michael Schroeder
<mls@suse.de>
Tue, 30 Jun 2009 16:07:47 +0000
(18:07 +0200)
committer
Michael Schroeder
<mls@suse.de>
Tue, 30 Jun 2009 16:07:47 +0000
(18:07 +0200)
ext/repo_deb.c
patch
|
blob
|
history
diff --git
a/ext/repo_deb.c
b/ext/repo_deb.c
index
e35740c
..
2bd3f4c
100644
(file)
--- a/
ext/repo_deb.c
+++ b/
ext/repo_deb.c
@@
-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));