Re: feature requests galore!!!
Jef Spaleta <[email protected]> 26 Aug 2002 14:36:10 -0400
| Newsgroups | gmane.linux.redhat.rpm.grab |
|---|---|
| Message-ID | <1030387000.17402.15.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 ftp://ftp.dulug.duke.edu/ftp.redhat.com/pub/redhat/linux/7.3/en/os/i386/RedHat/RPMS/xchat-1.8.8-5.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.