So I’m trying to build an rpm, and I’m trying to make one of the recommends Java, which is quite easy with Recommends: java
. The problem is that the only package which provides “java” is java-21-openjdk. I’m trying to get it the recommendation to apply to any version of java, ie java-1.8.0 or java-17. Is this possible to do? For a package that can run on any version of java it feels unnecessary to install an extra java package on a system which already has a specific version of java installed.