diff --git a/xmlstreambuffer.changes b/xmlstreambuffer.changes index cba36ee..2b6f072 100644 --- a/xmlstreambuffer.changes +++ b/xmlstreambuffer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 23 05:57:56 UTC 2022 - Fridrich Strba + +- Build with source and target levels 8 + ------------------------------------------------------------------- Mon Mar 9 12:13:40 UTC 2020 - Fridrich Strba diff --git a/xmlstreambuffer.spec b/xmlstreambuffer.spec index d0e2742..914a8e1 100644 --- a/xmlstreambuffer.spec +++ b/xmlstreambuffer.spec @@ -1,7 +1,7 @@ # # spec file for package xmlstreambuffer # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Group: Development/Libraries/Java URL: https://java.net/projects/xmlstreambuffer/ Source0: https://github.com/kohsuke/xmlstreambuffer/archive/streambuffer-%{version}.tar.gz BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 BuildRequires: maven-local BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) @@ -81,9 +82,9 @@ rm -r test/com/sun/xml/stream/buffer/stax/InscopeNamespaceTest.java %{mvn_build} -f -- \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} - -Dmaven.compiler.release=6 \ + -Dmaven.compiler.release=8 \ %endif - -Dsource=6 + -Dsource=8 %install %mvn_install