[Rpm-metadata] One more thinko ...
Jeff Johnson
n3npq at nc.rr.com
Sun Oct 19 16:46:38 UTC 2003
seth vidal wrote:
>>* Mon Oct 13 2003 Jeff Johnson <jbj at jbj.org> 4.2.42-0.2
>>- resurrect db4-java.
>>
>>
>
>
>is this actually separate from the entry list in the changelog or would
>it have to be parsed out of it via regex?
>
>
If you want to establish the EVR in changelog entry onvention, you need
name = h['changelogname']
and then split on the last '>' character, treat remainder as EVR.
Yes, different tag than changelogtext, which should be argv string array.
SInce this is packager convention which not everyone follows (it is/was
recommended practice for RHL), you can expect some goofiness in the values,
rpm cannot, say, check for Epoch: being a numeric since the entire
convention
is exploiting a weakness in the specfile parser.
I'd put the src.package name in the XM too, using rpm:entry with
combined N + EVRF,
but other representations are workable too.
73 de Jeff
More information about the Rpm-metadata
mailing list