Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pybind11-stubgen for openSUSE:Factory checked in at 2025-06-18 17:58:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pybind11-stubgen (Old) and /work/SRC/openSUSE:Factory/.python-pybind11-stubgen.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pybind11-stubgen" Wed Jun 18 17:58:42 2025 rev:3 rq:1286673 version:0.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pybind11-stubgen/python-pybind11-stubgen.changes 2023-01-28 19:02:13.448352300 +0100 +++ /work/SRC/openSUSE:Factory/.python-pybind11-stubgen.new.19631/python-pybind11-stubgen.changes 2025-06-18 17:59:05.559439138 +0200 @@ -1,0 +2,5 @@ +Wed Jun 18 04:41:36 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Use pyproject macros to build and install. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pybind11-stubgen.spec ++++++ --- /var/tmp/diff_new_pack.4aoZ2w/_old 2025-06-18 17:59:06.395472791 +0200 +++ /var/tmp/diff_new_pack.4aoZ2w/_new 2025-06-18 17:59:06.395472791 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pybind11-stubgen # -# Copyright (c) 2023 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 @@ -18,7 +18,6 @@ %define pypiname pybind11-stubgen -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-%{pypiname} Version: 0.12.0 Release: 0 @@ -26,11 +25,13 @@ License: BSD-3-Clause URL: https://github.com/sizmailov/pybind11-stubgen Source: https://pypi.io/packages/source/p/%{pypiname}/%{pypiname}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -43,10 +44,10 @@ %setup -q -n %{pypiname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pybind11-stubgen %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -64,5 +65,6 @@ %doc README.rst %license LICENSE %python_alternative %{_bindir}/pybind11-stubgen -%{python_sitelib}/pybind11_stubgen* +%{python_sitelib}/pybind11_stubgen +%{python_sitelib}/pybind11_stubgen-%{version}.dist-info