Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pycocotools for openSUSE:Factory checked in at 2026-06-27 18:05:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycocotools (Old) and /work/SRC/openSUSE:Factory/.python-pycocotools.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycocotools" Sat Jun 27 18:05:11 2026 rev:3 rq:1361786 version:2.0~post.1582219528.8c9bcc3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycocotools/python-pycocotools.changes 2021-04-23 17:51:03.682839125 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycocotools.new.11887/python-pycocotools.changes 2026-06-27 18:06:15.776308467 +0200 @@ -1,0 +2,6 @@ +Thu Jun 25 14:08:16 UTC 2026 - Steve Kowalik <[email protected]> + +- Use pyproject macros to build and install the module. +- List directories under sitelib explicitly. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycocotools.spec ++++++ --- /var/tmp/diff_new_pack.JSJCgV/_old 2026-06-27 18:06:16.500332922 +0200 +++ /var/tmp/diff_new_pack.JSJCgV/_new 2026-06-27 18:06:16.500332922 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pycocotools # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python36 1 +%define base_version 2.0 Name: python-pycocotools Version: 2.0~post.1582219528.8c9bcc3 Release: 0 @@ -29,7 +29,9 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module matplotlib >= 2.1.0} BuildRequires: %{python_module numpy-devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 18.0} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Cython >= 0.27.3 @@ -49,14 +51,15 @@ %setup -q -n cocoapi-%{version}/PythonAPI %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} %license ../license.txt %doc ../README.txt -%{python_sitearch}/* +%{python_sitearch}/pycocotools +%{python_sitearch}/pycocotools-%{base_version}.dist-info
