more compatible rpm dependency for java

rpm spec file requires java-1.6.0-openjdk, changed to requires java to a more compatible approach