RPM Help Needed
Gyepi SAM
gyepi at praxis-sw.com
Wed Dec 31 06:08:40 CET 2003
On Tue, Dec 30, 2003 at 11:35:03PM -0500, David Relson wrote:
> %define _requires_exceptions "perl(MIME::Parser) perl(POSIX)
> perl(strict)"
>
> This could get interesting!
Yes, it could. Good work David! My rpm-4.0.2 on RH 7.1 does not even have the exception
stuff you're referring to. Fortunatately, rpm knows to ignore unrecognized
constructs so it should be OK.
> By the way, given a binary rpm how can I display its dependencies
> without having to install it?
use the -p option.
rpm -qp --provides /path/to/file.rpm
will list the capabilities of the package. Replace provides with requires as
necessary.
-Gyepi
More information about the Bogofilter
mailing list