Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cffi for openSUSE:Factory 
checked in at 2026-11-10 14:38:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cffi (Old)
 and      /work/SRC/openSUSE:Factory/.python-cffi.new.3759290 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cffi"

Tue Nov 10 14:38:29 2026 rev:49 rq:1396204 version:2.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cffi/python-cffi.changes  2026-03-17 
19:02:27.175592408 +0100
+++ /work/SRC/openSUSE:Factory/.python-cffi.new.3759290/python-cffi.changes     
2026-11-10 14:38:36.887031229 +0100
@@ -1,0 +2,14 @@
+Sun Nov  8 22:21:39 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.1.1:
+  * Minimize internal Python API usage for interpreter and
+    thread state sampling where possible.
+  * Added the cffi-gen-src command-line tool
+  * Added support for Python 3.15 and support for C extensions
+    generated by CFFI to target the new abi3t free-threaded ABI. (#232)
+  * Avoid crashes inside of __delitem__. (#235)
+  * Avoid “string too big” error under MSVC. (#167)
+  * Fix mingw builds. (#198)
+- drop support-pycparser-3.patch (upstream)
+
+-------------------------------------------------------------------

Old:
----
  cffi-2.0.0.tar.gz
  support-pycparser-3.patch

New:
----
  cffi-2.1.1.tar.gz

----------(Old B)----------
  Old:  * Fix mingw builds. (#198)
- drop support-pycparser-3.patch (upstream)
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cffi.spec ++++++
--- /var/tmp/diff_new_pack.o2BGiQ/_old  2026-11-10 14:38:38.526099828 +0100
+++ /var/tmp/diff_new_pack.o2BGiQ/_new  2026-11-10 14:38:38.528099911 +0100
@@ -16,17 +16,20 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
 %{?sle15_python_module_pythons}
 Name:           python-cffi
-Version:        2.0.0
+Version:        2.1.1
 Release:        0
 Summary:        Foreign Function Interface for Python calling C code
 License:        MIT
 URL:            https://cffi.readthedocs.org
 Source0:        
https://files.pythonhosted.org/packages/source/c/cffi/cffi-%{version}.tar.gz
 Source1:        python-cffi-rpmlintrc
-# PATCH-FIX-UPSTREAM gh#python-cffi/cffi#224
-Patch0:         support-pycparser-3.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pycparser}
@@ -38,6 +41,13 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libffi)
 Requires:       python-pycparser
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 %python_subpackages
 
 %description
@@ -54,13 +64,24 @@
 %install
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_clone -a %{buildroot}%{_bindir}/cffi-gen-src
 
 %check
 %pytest_arch -W ignore::UserWarning src/c/ testing/
 
+%post
+%python_install_alternative cffi-gen-src
+
+%postun
+%python_uninstall_alternative cffi-gen-src
+
+%pre
+%python_libalternatives_reset_alternative cffi-gen-src
+
 %files %{python_files}
 %license LICENSE
 %doc README.md doc/source/*.rst doc/misc/*.rst
+%python_alternative %{_bindir}/cffi-gen-src
 %{python_sitearch}/cffi
 %{python_sitearch}/_cffi_backend.*.so
 %{python_sitearch}/cffi-%{version}.dist-info

++++++ cffi-2.0.0.tar.gz -> cffi-2.1.1.tar.gz ++++++
++++ 6894 lines of diff (skipped)

Reply via email to