Accepting request 1112744 from Java:packages
fix build with java >= 20 OBS-URL: https://build.opensuse.org/request/show/1112744 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz-java?expand=0&rev=5
This commit is contained in:
commit
212ea617ed
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 21 06:43:05 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with java source/target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 19:32:21 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xz-java
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2013 Peter Conrad
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -51,6 +51,7 @@ This package contains the API documentation of xz-java.
|
||||
|
||||
%build
|
||||
sed -i 's/linkoffline="[^"]*"//;/extdoc_/d' build.xml
|
||||
sed -i 's/sourcever = 7/sourcever = 8/g' build.properties
|
||||
ant -Dant.build.javac.{source,target}=8 clean jar doc maven
|
||||
|
||||
%install
|
||||
|
Loading…
x
Reference in New Issue
Block a user