Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-PyBindGen for
openSUSE:Factory checked in at 2025-06-18 17:58:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyBindGen (Old)
and /work/SRC/openSUSE:Factory/.python-PyBindGen.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyBindGen"
Wed Jun 18 17:58:44 2025 rev:5 rq:1286675 version:0.22.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyBindGen/python-PyBindGen.changes
2022-09-03 23:19:38.847905304 +0200
+++
/work/SRC/openSUSE:Factory/.python-PyBindGen.new.19631/python-PyBindGen.changes
2025-06-18 17:59:07.455515462 +0200
@@ -1,0 +2,6 @@
+Wed Jun 18 04:41:56 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Use pyproject macros to build and install.
+- Explicitly list files and directories in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyBindGen.spec ++++++
--- /var/tmp/diff_new_pack.boLWcB/_old 2025-06-18 17:59:08.239547023 +0200
+++ /var/tmp/diff_new_pack.boLWcB/_new 2025-06-18 17:59:08.243547185 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-PyBindGen
#
-# 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,8 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
Name: python-PyBindGen
Version: 0.22.1
Release: 0
@@ -26,8 +24,10 @@
Group: Development/Libraries/Python
URL: https://github.com/gjcarneiro/pybindgen
Source0:
https://pypi.io/packages/source/P/PyBindGen/PyBindGen-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -43,13 +43,14 @@
find pybindgen/ -iname \*.py -exec sed -ie '1 { \#/usr/bin# d }' '{}' \;
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
%files %{python_files}
%license COPYING
-%{python_sitelib}/*
+%{python_sitelib}/pybindgen
+%{python_sitelib}/[Pp]y[Bb]ind[Gg]en-%{version}.dist-info