Accepting request 750345 from Java:packages

OBS-URL: https://build.opensuse.org/request/show/750345
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-surefire?expand=0&rev=12
This commit is contained in:
Fridrich Strba 2019-11-22 16:44:54 +00:00 committed by Git OBS Bridge
parent 7c037e1f04
commit 5c692fb5b5

View File

@ -105,7 +105,11 @@ sed -i /-Xdoclint:all/d pom.xml
%build
pushd surefire-providers/surefire-junit-platform
%mvn_build -f
%mvn_build -f \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=8
%endif
popd
%install