Fridrich Strba 2022-03-29 14:11:19 +00:00 committed by Git OBS Bridge
parent f7fb2fd87a
commit 6052c0c3f8

View File

@ -306,7 +306,11 @@ sed -i '/<SystemProperty name="jetty.state"/d' \
# we don't have all necessary dependencies to run tests
# missing test dep: org.eclipse.jetty.toolchain:jetty-perf-helper
%{mvn_build} -f -s -- -Dsource=8
%{mvn_build} -f -s -- \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-Dmaven.compiler.release=8 \
%endif
-Dsource=8
%install
%mvn_install