Logical 'or' for package dependencies

rarob at travelinglightfarm.net rarob at travelinglightfarm.net
Wed Oct 13 20:21:39 UTC 2010


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?

Or do we to provide 2 RPMs, one for each flavor of Java...

-Rob



More information about the Rpm-list mailing list