Logical 'or' for package dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux