Michael Schroeder
2014-02-25 13:36:54 UTC
Hi repomd folks,
attached is what I currently use to have createrepo emit weak dependencies.
Things are a bit complicated because I still need to support the old
tags, feel free to remove that part if you don't like it.
yum-metadata-parser-1.1.2-weakdeps.patch:
'createrepo --update' needs to parse the old metadata, and since
some time it uses the yum-metadata-parser (aka sqlitecache) package
to do the job. Thus we need to support weak dependencies here as well.
yum-3.4.3-suse-missing-tags.patch:
adds support for the new tags. The old tags are not exported, so
I had to use the numeric values here.
Feel free to beatify my code ;)
Cheers,
Michael.
attached is what I currently use to have createrepo emit weak dependencies.
Things are a bit complicated because I still need to support the old
tags, feel free to remove that part if you don't like it.
yum-metadata-parser-1.1.2-weakdeps.patch:
'createrepo --update' needs to parse the old metadata, and since
some time it uses the yum-metadata-parser (aka sqlitecache) package
to do the job. Thus we need to support weak dependencies here as well.
yum-3.4.3-suse-missing-tags.patch:
adds support for the new tags. The old tags are not exported, so
I had to use the numeric values here.
Feel free to beatify my code ;)
Cheers,
Michael.
--
Michael Schroeder ***@suse.de
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
Michael Schroeder ***@suse.de
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}