Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-fann2 for openSUSE:Factory checked in at 2025-05-27 18:42:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-fann2 (Old) and /work/SRC/openSUSE:Factory/.python-fann2.new.2732 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fann2" Tue May 27 18:42:49 2025 rev:4 rq:1280524 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-fann2/python-fann2.changes 2022-01-15 20:05:39.269780272 +0100 +++ /work/SRC/openSUSE:Factory/.python-fann2.new.2732/python-fann2.changes 2025-05-27 18:42:57.982510870 +0200 @@ -1,0 +2,5 @@ +Tue May 27 11:28:15 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-fann2.spec ++++++ --- /var/tmp/diff_new_pack.JJx2wm/_old 2025-05-27 18:42:58.670539822 +0200 +++ /var/tmp/diff_new_pack.JJx2wm/_new 2025-05-27 18:42:58.674539990 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-fann2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# bad upstream packaging +%define metadata_ver 1.1.2 Name: python-fann2 Version: 1.2.0 Release: 0 @@ -26,13 +27,15 @@ URL: https://github.com/FutureLinkCorporation/fann2 Source: https://github.com/FutureLinkCorporation/fann2/archive/refs/tags/%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: swig BuildRequires: pkgconfig(fann) - %python_subpackages %description @@ -49,10 +52,10 @@ %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand rm %{buildroot}%{$python_sitearch}/fann2/fann2_wrap.cxx %python_expand rm %{buildroot}%{$python_sitearch}/fann2/fann_cpp_subclass.h @@ -63,5 +66,6 @@ %files %{python_files} %doc README.rst %license LICENSE -%{python_sitearch}/* +%{python_sitearch}/fann2 +%{python_sitearch}/fann2-%{metadata_ver}*-info