Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-JPype1 for openSUSE:Factory checked in at 2024-02-27 22:48:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-JPype1 (Old) and /work/SRC/openSUSE:Factory/.python-JPype1.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-JPype1" Tue Feb 27 22:48:04 2024 rev:8 rq:1151988 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-JPype1/python-JPype1.changes 2024-01-07 21:39:36.078489160 +0100 +++ /work/SRC/openSUSE:Factory/.python-JPype1.new.1770/python-JPype1.changes 2024-02-27 22:48:09.978129787 +0100 @@ -1,0 +2,5 @@ +Tue Feb 27 01:50:13 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject and autosetup macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-JPype1.spec ++++++ --- /var/tmp/diff_new_pack.ufn3bW/_old 2024-02-27 22:48:10.902163042 +0100 +++ /var/tmp/diff_new_pack.ufn3bW/_new 2024-02-27 22:48:10.902163042 +0100 @@ -16,9 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 %bcond_without test # https://build.opensuse.org/package/show/Java:packages/h2database is not in Factory %bcond_with test_jdbc @@ -31,7 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/J/JPype1/JPype1-%{version}.tar.gz Patch0: JPype1-java8compat.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: ant BuildRequires: fdupes BuildRequires: gcc-c++ @@ -61,18 +60,17 @@ A Python to Java bridge. %prep -%setup -q -n JPype1-%{version} -%patch0 -p1 +%autosetup -p1 -n JPype1-%{version} # Avoid build dependency on PyInstaller rm jpype/_pyinstaller/test_jpype_pyinstaller.py %build ant -f native/build.xml jar export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %if %{with test} @@ -98,8 +96,8 @@ %files %{python_files} %doc AUTHORS.rst README.rst %license LICENSE -%{python_sitearch}/jpype/ +%{python_sitearch}/jpype %{python_sitearch}/org.jpype.jar %{python_sitearch}/_jpype*.so -%{python_sitearch}/*JPype1*/ +%{python_sitearch}/JPype1-%{version}.dist-info