Details can be found in the included NEWS file.
Most of the rpm-5.0 development efforts were in portability
and including support for XAR format. One of the immediate
benefits of adding support for XAR was that much of the existing
Header code was rewritten. E.g. array lookup's through rpm --query
are now 10x (yes 10x, not 10%) faster.
Perhaps the most interesting feature for packagers on rpm-list is
the additional support for arbitrary tags. These are string valued (or string array
if used multiple times) tags that can be added to *.rpm packaging by
doing
1) Add the name of the tag to the list of permitted arbitrary tags.
The permitted arbitrary tags are configured in the macro
#
# Colon separated list of permitted arbitrary tag names
%_arbitrary_tags Class:Track:Trackprog:Foo:Bar:Baz
2) Set the value of the tag by adding to a spec file:
...
Foo: This is a string value for the tag Foo.
3) Build a package. Verify the arbitrary tag is present by
rpm -qp --qf '%{foo}\n' package*.rpm
Arbitrary tags will eventually be made identical to XAR attributes/properties.
(Note: one meaning for X in XAR is eXtensible. another meaning is XML.)
Enjoy!
73 de Jeff
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list