This commit is contained in:
parent
0b45c9fcb7
commit
60709d1372
@ -6,8 +6,8 @@
|
|||||||
<property name="build.compiler" value="modern" />
|
<property name="build.compiler" value="modern" />
|
||||||
- <property name="jdk.target.version" value="1.4" />
|
- <property name="jdk.target.version" value="1.4" />
|
||||||
- <property name="jdk.source.version" value="1.4" />
|
- <property name="jdk.source.version" value="1.4" />
|
||||||
+ <property name="jdk.target.version" value="1.6" />
|
+ <property name="jdk.target.version" value="1.8" />
|
||||||
+ <property name="jdk.source.version" value="1.6" />
|
+ <property name="jdk.source.version" value="1.8" />
|
||||||
<property name="deprecation" value="off" />
|
<property name="deprecation" value="off" />
|
||||||
<property name="debug" value="off" />
|
<property name="debug" value="off" />
|
||||||
<property name="optimize" value="on" />
|
<property name="optimize" value="on" />
|
||||||
|
@ -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>
|
Mon Jun 21 13:12:11 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jython
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,7 +27,7 @@ Release: 0
|
|||||||
Summary: A Java implementation of the Python language
|
Summary: A Java implementation of the Python language
|
||||||
License: Apache-2.0 AND Python-2.0
|
License: Apache-2.0 AND Python-2.0
|
||||||
Group: Development/Languages/Python
|
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
|
# Use the included fetch-jython.sh script to generate the source drop
|
||||||
# for jython 2.2.1
|
# for jython 2.2.1
|
||||||
# sh fetch-jython.sh \
|
# sh fetch-jython.sh \
|
||||||
@ -184,7 +184,7 @@ export CLASSPATH=$CLASSPATH:%{_libdir}/libreadline-java/libreadline-java.jar
|
|||||||
rm -rf org/apache
|
rm -rf org/apache
|
||||||
perl -p -i -e 's|execon|apply|g' build.xml
|
perl -p -i -e 's|execon|apply|g' build.xml
|
||||||
|
|
||||||
ant \
|
%{ant} \
|
||||||
-Dpython.home=%{_bindir} \
|
-Dpython.home=%{_bindir} \
|
||||||
-Dht2html.dir=%{_datadir}/ht2html \
|
-Dht2html.dir=%{_datadir}/ht2html \
|
||||||
-Dpython.lib=./CPythonLib \
|
-Dpython.lib=./CPythonLib \
|
||||||
|
Loading…
Reference in New Issue
Block a user