I'm trying to figure out how to make a package of mine depend on anything that provides "java", but I'm not sure what to even look up. Apparently "yum provides" is a command for finding out which package contains a particular file, and "yum info" doesn't seem to have the information I want.
Basically, my OS has a package called "java-1.6.0-openjdk", and my package requires some implementaiton of Java, but it would work perfectly fine on Oracle Java, or Java 7, so I won't want to be that specific about it. Is there a way to just depend on anything that provides Java?