Logical 'or' for package dependencies
Jason Pyeron
jpyeron at pdinc.us
Wed Oct 13 23:06:41 UTC 2010
> -----Original Message-----
> From: rarob
> Sent: Wednesday, October 13, 2010 16:22
> Subject: Logical 'or' for package dependencies
>
> Quick question (I hope). Suppose you are making a package
> that requires Java. Either OpenJDK -or- SUN/Oracle is
> acceptable. OpenJDK provides the 'openjdk' package, whereas
> SUN/Oracle provides 'jre' for the basic runtime. How would
> one craft the 'Requires:' line to pass if either (or
> both) is present?
Requires: java
The sun/openjdk rpms should provide it. Are you looking to exclude other
packages that are not Sun/OpenJDK?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.
More information about the Rpm-list
mailing list