9 #include "repo_susetags.h"
10 #include "repo_write.h"
11 #include "attr_store.h"
13 extern Attrstore *attr;
16 main(int argc, char **argv)
23 const char *s = argv[0];
28 case 'a': with_attr = 1; break;
33 Pool *pool = pool_create();
34 Repo *repo = pool_addrepo_susetags(pool, stdin, with_attr);
35 pool_writerepo(pool, repo, stdout);
36 if (with_attr && attr)
38 FILE *fp = fopen ("test.attr", "w");
39 write_attr_store (fp, attr);