https://bugzilla.redhat.com/show_bug.cgi?id=2035955
--- Comment #4 from Didik Supriadi didiksupriadi41@gmail.com --- Do you mean how to use %jpackage_script?
from `/usr/lib/rpm/macros.d/macros.jpackage`:
%jpackage_script param1 param2 param3 param4 param5 param6
# Standard JPackage script # # %1 main class # %2 flags # %3 options # %4 jars (separated by ':') # %5 the name of script you wish to create # %6 whether to prefer a jre over a sdk when finding a jvm
Also, Java binary packages MUST have transitive Requires on: javapackages-tools
You can see it in action here: https://sourcegraph.com/search?q=context:global+r:src.fedoraproject.org+file...