Related: #2160545 Update BuildRequires to use java-17

This commit is contained in:
Hui Wang 2023-02-20 14:47:11 +08:00
parent b20d576ff7
commit dffb4a93c2

View File

@ -25,7 +25,7 @@ BuildArch: noarch
BuildRequires: ant
BuildRequires: javapackages-local
BuildRequires: java-11-openjdk-devel
BuildRequires: java-17-openjdk-devel
Requires: java-headless >= 1:1.8.0
Requires: javapackages-tools
@ -50,7 +50,7 @@ rm ./META-INF/ECLIPSE_.{SF,RSA}
org.eclipse.tycho:org.eclipse.jdt.core org.eclipse.tycho:org.eclipse.jdt.compiler.apt
%build
export JAVA_HOME=/usr/lib/jvm/java-11
export JAVA_HOME=/usr/lib/jvm/java-17
ant
%install