1
0

Accepting request 845704 from Java:packages

Fix builds

OBS-URL: https://build.opensuse.org/request/show/845704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-ognl?expand=0&rev=2
This commit is contained in:
2020-11-04 17:26:08 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 3 11:56:57 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- Fix javadoc build on some systems
-------------------------------------------------------------------
Mon Mar 2 11:31:02 UTC 2020 - Fridrich Strba <fstrba@suse.com>

View File

@@ -54,10 +54,11 @@ This package contains the API documentation for %{name}.
%{mvn_file} :%{short_name} %{short_name} %{name}
%build
%{mvn_build} -f \
%{mvn_build} -f -- \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=6
-Dmaven.compiler.release=6 \
%endif
-Dmaven.compiler.source=6
%install
%mvn_install