Fridrich Strba 2019-11-22 15:40:34 +00:00 committed by Git OBS Bridge
parent 0ecc34333b
commit 2e5b9cb3cf

View File

@ -76,7 +76,10 @@ API documentation for %{name}.
%endif
%build
%{mvn_build} -f -- -Dmaven.compiler.release=7
%{mvn_build} -f \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=7
%endif
%install
%mvn_install