Fridrich Strba 2019-11-22 14:42:16 +00:00 committed by Git OBS Bridge
parent cb155691b3
commit 286a0a6d22

View File

@ -53,7 +53,10 @@ This package contains API documentation for %{name}.
%{mvn_file} :%{bundle} "felix/%{bundle}"
%build
%{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
%install
%mvn_install