Accepting request 901188 from Java:packages

OBS-URL: https://build.opensuse.org/request/show/901188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jython?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2021-06-24 16:22:16 +00:00 committed by Git OBS Bridge
commit 586dad168b
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 21 13:12:11 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Change dependencies to Python 3
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 26 15:53:35 UTC 2019 - Fridrich Strba <fstrba@suse.com> Wed Jun 26 15:53:35 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package jython # spec file for package jython
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 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
@ -16,16 +16,16 @@
# #
%global pyver %(python -c 'import sys;print(sys.version[0:3])') %global pyver %(python3 -c 'import sys;print(sys.version[0:3])')
%global cpython_version %{pyver} %global cpython_version %{pyver}
%global pyxml_version 0.8.3 %global pyxml_version %{pyver}
%global svn_tag Release_2_2_1 %global svn_tag Release_2_2_1
%global _python_bytecompile_errors_terminate_build 0 %global _python_bytecompile_errors_terminate_build 0
Name: jython Name: jython
Version: 2.2.1 Version: 2.2.1
Release: 0 Release: 0
Summary: A Java implementation of the Python language Summary: A Java implementation of the Python language
License: Python-2.0 AND Apache-2.0 License: Apache-2.0 AND Python-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://www.jython.org/ URL: http://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
@ -56,15 +56,15 @@ BuildRequires: javapackages-local
BuildRequires: jline1 BuildRequires: jline1
BuildRequires: libreadline-java >= 0.8.0 BuildRequires: libreadline-java >= 0.8.0
BuildRequires: mysql-connector-java BuildRequires: mysql-connector-java
BuildRequires: python >= %{cpython_version} BuildRequires: python3 >= %{cpython_version}
BuildRequires: pyxml >= %{pyxml_version} BuildRequires: python3-xml >= %{pyxml_version}
BuildRequires: servletapi5 BuildRequires: servletapi5
Requires: jakarta-oro Requires: jakarta-oro
Requires: java >= 1.8 Requires: java >= 1.8
Requires: javapackages-local Requires: javapackages-local
Requires: jline1 Requires: jline1
Requires: libreadline-java >= 0.8.0 Requires: libreadline-java >= 0.8.0
Requires: python >= %{cpython_version} Requires: python3 >= %{cpython_version}
Requires: servletapi5 Requires: servletapi5
Recommends: mysql-connector-java Recommends: mysql-connector-java
BuildArch: noarch BuildArch: noarch
@ -188,7 +188,7 @@ ant \
-Dpython.home=%{_bindir} \ -Dpython.home=%{_bindir} \
-Dht2html.dir=%{_datadir}/ht2html \ -Dht2html.dir=%{_datadir}/ht2html \
-Dpython.lib=./CPythonLib \ -Dpython.lib=./CPythonLib \
-Dpython.exe=%{_bindir}/python \ -Dpython.exe=%{_bindir}/python3 \
-DPyXmlHome=%{_libdir}/python%{pyver} \ -DPyXmlHome=%{_libdir}/python%{pyver} \
-Dtargetver=1.3 \ -Dtargetver=1.3 \
copy-dist copy-dist