RPM packaging: support both java-17 and java-17-headless. jre-17 and jre-17-headless alternatives added as well. Specific requires notations differ from Debian.
This commit is contained in:
parent
af889fc1fd
commit
297a79b3ad
@ -92,7 +92,7 @@ buildRpm {
|
||||
archiveVersion = projectVersion.replace('-', '')
|
||||
archiveFileName = "${pkgName}.rpm"
|
||||
|
||||
requires("java-17")
|
||||
requires("(java-17 or java-17-headless or jre-17 or jre-17-headless)") // .or() notation does work in RPM plugin
|
||||
|
||||
from("${buildDir}/conf") {
|
||||
include "${pkgName}.conf"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user