Accepting request 963247 from Java:packages

Build with source/target levels 8

OBS-URL: https://build.opensuse.org/request/show/963247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jython?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2022-03-28 14:59:31 +00:00 committed by Git OBS Bridge
commit d10bb2084f
3 changed files with 12 additions and 5 deletions

View File

@ -6,8 +6,8 @@
<property name="build.compiler" value="modern" />
- <property name="jdk.target.version" value="1.4" />
- <property name="jdk.source.version" value="1.4" />
+ <property name="jdk.target.version" value="1.6" />
+ <property name="jdk.source.version" value="1.6" />
+ <property name="jdk.target.version" value="1.8" />
+ <property name="jdk.source.version" value="1.8" />
<property name="deprecation" value="off" />
<property name="debug" value="off" />
<property name="optimize" value="on" />

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 20 12:20:10 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* jython-sourcetarget.patch
+ build with java source and tartget level 1.8
-------------------------------------------------------------------
Mon Jun 21 13:12:11 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jython
#
# Copyright (c) 2021 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
@ -27,7 +27,7 @@ Release: 0
Summary: A Java implementation of the Python language
License: Apache-2.0 AND Python-2.0
Group: Development/Languages/Python
URL: http://www.jython.org/
URL: https://www.jython.org/
# Use the included fetch-jython.sh script to generate the source drop
# for jython 2.2.1
# sh fetch-jython.sh \
@ -184,7 +184,7 @@ export CLASSPATH=$CLASSPATH:%{_libdir}/libreadline-java/libreadline-java.jar
rm -rf org/apache
perl -p -i -e 's|execon|apply|g' build.xml
ant \
%{ant} \
-Dpython.home=%{_bindir} \
-Dht2html.dir=%{_datadir}/ht2html \
-Dpython.lib=./CPythonLib \