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:
be05df8
)
- obtain default vendor the right way
author
Michael Schroeder
<mls@suse.de>
Wed, 24 Jun 2009 11:42:04 +0000
(13:42 +0200)
committer
Michael Schroeder
<mls@suse.de>
Wed, 24 Jun 2009 11:42:04 +0000
(13:42 +0200)
tools/susetags2solv.c
patch
|
blob
|
history
diff --git
a/tools/susetags2solv.c
b/tools/susetags2solv.c
index
753b86c
..
77da9c4
100644
(file)
--- a/
tools/susetags2solv.c
+++ b/
tools/susetags2solv.c
@@
-144,11
+144,8
@@
main(int argc, char **argv)
perror(contentfile);
exit(1);
}
- repo_add_content(repo, fp, REPO_REUSE_REPODATA | REPO_NO_INTERNALIZE);
- if (repo->start < repo->end)
- if (!strncmp(id2str(pool, pool->solvables[repo->start].name), "product:", 8))
- defvendor = pool->solvables[repo->start].vendor;
- fclose(fp);
+ repo_add_content(repo, fp, REPO_REUSE_REPODATA);
+ defvendor = repo_lookup_id(repo, SOLVID_META, SUSETAGS_DEFAULTVENDOR);
}
if (attrname)