Reading .hdr files

Paul Howarth paul at city-fan.org
Thu Feb 3 08:22:31 UTC 2005


On Wed, 2005-02-02 at 13:54 -0800, Jonathan Ryshpan wrote:
> Is there a convenient way to read a .hdr file?  Let's call it headump.
> The output of "headump foo.hdr" should be similar to the output of
> "rpm -qilp foo.rpm"; it would show what the foo.rpm does and what files
> it provides.
> 
> The reason -- I'd like to build a database of the contents of the
> contents of what's available form the rpm extras server.  It's not
> always obvious from the name of the rpm what it does or what files it
> provides.

I'd have thought it would have been easier to handle the XML metadata in
the repodata/ directory. The headers files are deprecated anyway and may
go away before much longer as yum 2.1.x doesn't use them.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list