2 * Copyright (c) 2007, Novell Inc.
4 * This program is licensed under the BSD license, read LICENSE.BSD
5 * for further information
13 #include <sys/types.h>
22 #include "repo_solv.h"
23 #include "common_write.h"
26 main(int argc, char **argv)
28 Pool *pool = pool_create();
31 repo = repo_create(pool, "");
36 if ((fp = fopen(*argv, "r")) == NULL)
41 repo_add_solv(repo, fp);
45 tool_write(repo, 0, 0);