> -----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. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list