This commit is contained in:
parent
cc563e2c8e
commit
0c80b66a6f
@ -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
|
||||
@ -69,7 +70,7 @@ cp -pr build/doc/* %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
%files -f .mfiles
|
||||
%license COPYING
|
||||
%doc NEWS README THANKS
|
||||
%doc NEWS README THANKS whatever
|
||||
%{_javadir}/xz.jar
|
||||
|
||||
%files javadoc
|
||||
|
Loading…
x
Reference in New Issue
Block a user