On Mon, 26 Jan 2009, Panu Matilainen wrote:
Adding a "news" or "changelog" file attribute
would cost exactly one bit of a
bitfield, that would be quite another story. Except .. well, rpm already
supports %readme and %license "file attributes", but nothing at all uses them
for anything. Part of that is probably that they aren't compatible with %doc
so they're pretty cumbersome to use in a spec. Maybe that'd be worth fixing,
and at least licenses are something that would want special treatment anyway
(ie get installed even with --nodocs)
...and of course, this is what the original request was about. Only then
you're back to the point that the file contents are in the payload, and
accessing it is way too expensive to do in createrepo. And still you'd get
this *huge* blob of xml/sqlite that you'd have to download to access the
data...
- Panu -