Hello community, here is the log from the commit of package glassfish-jax-rs-api for openSUSE:Factory checked in at 2019-11-26 16:56:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glassfish-jax-rs-api (Old) and /work/SRC/openSUSE:Factory/.glassfish-jax-rs-api.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glassfish-jax-rs-api" Tue Nov 26 16:56:48 2019 rev:2 rq:750532 version:2.1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/glassfish-jax-rs-api/glassfish-jax-rs-api.changes 2019-11-06 13:55:59.944149486 +0100 +++ /work/SRC/openSUSE:Factory/.glassfish-jax-rs-api.new.26869/glassfish-jax-rs-api.changes 2019-11-26 16:56:59.652154733 +0100 @@ -1,0 +2,6 @@ +Sun Nov 24 12:25:41 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glassfish-jax-rs-api.spec ++++++ --- /var/tmp/diff_new_pack.AEWe77/_old 2019-11-26 16:57:00.064154596 +0100 +++ /var/tmp/diff_new_pack.AEWe77/_new 2019-11-26 16:57:00.068154595 +0100 @@ -1,7 +1,7 @@ # # spec file for package glassfish-jax-rs-api # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,8 @@ License: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 URL: https://github.com/eclipse-ee4j/jaxrs-api Source0: https://github.com/eclipse-ee4j/jaxrs-api/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: maven-local fdupes +BuildRequires: fdupes +BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin) @@ -67,7 +68,13 @@ # Compatibility alias %{mvn_alias} : javax.ws.rs:javax.ws.rs-api -%{mvn_build} -f -- -Dsource=8 -Dmaven.compiler.source=8 -Dmaven.compiler.target=8 +%{mvn_build} -f \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -- -Dmaven.compiler.release=8 +%else + -- -Dmaven.compiler.source=8 -Dmaven.compiler.target=8 -Dsource=8 +%endif + ) %install