Fridrich Strba 2022-03-23 05:58:15 +00:00 committed by Git OBS Bridge
parent 04a60b085a
commit a0353e418a
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 23 05:57:56 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source and target levels 8
-------------------------------------------------------------------
Mon Mar 9 12:13:40 UTC 2020 - Fridrich Strba <fstrba@suse.com>

View File

@ -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