Fridrich Strba 2019-11-22 16:45:04 +00:00 committed by Git OBS Bridge
parent 0ffaa46ca7
commit 7eef187766

View File

@ -133,7 +133,11 @@ API documentation for %{name}.
%build
pushd %{name}
%{mvn_file} :%{name} %{base_name}/%{name}
%{mvn_build} -f -- -Dmaven.compiler.release=6
%{mvn_build} -f \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=6
%endif
popd
%install