[Rpm-metadata] Patch: weak dependencies for createrepo
Michael Schroeder
mls at suse.de
Tue Feb 25 13:36:54 UTC 2014
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.
--
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-metadata-parser-1.1.2-weakdeps.patch
Type: text/x-patch
Size: 6004 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20140225/75eb733f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-3.4.3-suse-missing-tags.patch
Type: text/x-patch
Size: 5925 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20140225/75eb733f/attachment-0001.bin>
More information about the Rpm-metadata
mailing list