Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pysndfile for
openSUSE:Factory checked in at 2025-02-18 19:12:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysndfile (Old)
and /work/SRC/openSUSE:Factory/.python-pysndfile.new.8181 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysndfile"
Tue Feb 18 19:12:47 2025 rev:8 rq:1246650 version:1.4.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysndfile/python-pysndfile.changes
2022-10-08 01:25:15.566234395 +0200
+++
/work/SRC/openSUSE:Factory/.python-pysndfile.new.8181/python-pysndfile.changes
2025-02-18 19:13:47.412253178 +0100
@@ -1,0 +2,12 @@
+Tue Feb 18 10:00:54 UTC 2025 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Limit Python files matched in %files section
+- Switch package to modern Python Stack on SLE-15
+ * Use Python 3.11 on SLE-15 by default
+ * Drop support for older Python versions
+- Switch build system from setuptools to pyproject.toml
+ * Add python-pip and python-wheel to BuildRequires
+ * Replace %python_build with %pyproject_wheel
+ * Replace %python_install with %pyproject_install
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pysndfile.spec ++++++
--- /var/tmp/diff_new_pack.rG4EHP/_old 2025-02-18 19:13:47.888273103 +0100
+++ /var/tmp/diff_new_pack.rG4EHP/_new 2025-02-18 19:13:47.888273103 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pysndfile
#
-# 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,7 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python36 1
+%{?sle15_python_module_pythons}
Name: python-pysndfile
Version: 1.4.4
Release: 0
@@ -30,8 +29,10 @@
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libsndfile-devel
@@ -63,10 +64,10 @@
%build
export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -77,5 +78,6 @@
%files %{python_files}
%doc ChangeLog README.md
%license COPYING.LESSER.txt
-%{python_sitearch}/*
+%{python_sitearch}/pysndfile
+%{python_sitearch}/pysndfile-%{version}.dist-info