Create a RPM package that install other RPM package!
Jos Vos
jos at xos.nl
Wed Mar 4 15:12:34 UTC 2009
On Wed, Mar 04, 2009 at 11:30:16AM -0300, Jorge Pereira wrote:
> i have the RPM "package-001.rpm" that depends of "adobe-air1.xx.rpm",
> if package of adboe-air is not installed, i need run eg something like
> rpm -ivh /path/install/adobe-air1.xx.rpm
Just add "Requires: adobe-air1" or whatever that package is called
in your rpm.
It is the responsibility of a dependency resolver like yum to pull in
that package. Rpm itself will refuse to install it (unless you
override that with an option) without adobe-air1 also being installed
(before or in the same transaction).
Actively installing other packages yourself is just "not done" and you
should not want to do that! ;-)
--
-- Jos Vos <jos at xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
More information about the Rpm-list
mailing list