Fridrich Strba 2019-11-22 15:51:45 +00:00 committed by Git OBS Bridge
parent 62c095e96f
commit 6212d94b8e

View File

@ -111,8 +111,10 @@ rm -f src/main/java/org/apache/felix/bundleplugin/baseline/BaselineReport.java
%endif
%build
# Tests depend on bundled JARs
%{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