Re: feature requests galore!!!
Jef Spaleta <[email protected]> 26 Aug 2002 14:27:21 -0400
| Newsgroups | gmane.linux.redhat.rpm.grab |
|---|---|
| Message-ID | <1030386472.16538.9.camel@spatula> |
This is an interesting rpm query line
rpm -q --qf "Vendor: %{VENDOR}\n Packager: %{PACKAGER}\nRequires:\n" --requires --qf "\nProvides:\n" --provides -p xchat-1.8.10-3.i386.rpm
something like this should be parsable by grab to fill in the hash
table. So inside grab you can use the rpm -q line to grab the header
from the package on the remote server....output all the header
information you want to stdout....and then parse it with perl into the
hash.
-jef