From 842c544b1eaa091433a4472f68c712d6a410ede0 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:17:57 +0200 Subject: [PATCH 01/18] Rebuilt for Python 3.11 --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index ac60d63..67fa005 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 3%{?dist} +Release: 4%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -475,6 +475,9 @@ popd %changelog +* Mon Jun 13 2022 Python Maint - 4.19.25-4 +- Rebuilt for Python 3.11 + * Sat Jan 22 2022 Fedora Release Engineering - 4.19.25-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 2aa40956d602c67cef14515a48344efaf40d943e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 17 Jun 2022 12:58:36 +0200 Subject: [PATCH 02/18] Fix error: invalid use of undefined type 'struct _frame' --- sip-4.19.25-pyframe_getback.patch | 13 +++++++++++++ sip.spec | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 sip-4.19.25-pyframe_getback.patch diff --git a/sip-4.19.25-pyframe_getback.patch b/sip-4.19.25-pyframe_getback.patch new file mode 100644 index 0000000..30bab23 --- /dev/null +++ b/sip-4.19.25-pyframe_getback.patch @@ -0,0 +1,13 @@ +diff --git a/siplib/siplib.c b/siplib/siplib.c +index db52b68..8019e97 100644 +--- a/siplib/siplib.c ++++ b/siplib/siplib.c +@@ -13747,7 +13747,7 @@ static struct _frame *sip_api_get_frame(int depth) + + while (frame != NULL && depth > 0) + { +- frame = frame->f_back; ++ frame = PyFrame_GetBack(frame); + --depth; + } + diff --git a/sip.spec b/sip.spec index 67fa005..1156a49 100644 --- a/sip.spec +++ b/sip.spec @@ -70,6 +70,8 @@ Patch51: sip-4.18-no_rpath.patch Patch53: sip-4.19.18-no_hardcode_sip_so.patch # Recognize the py_ssize_t_clean directive to avoid FTBFS with PyQt 5.15.6 Patch54: sip-4.19.25-py_ssize_t_clean.patch +# Fix error: invalid use of undefined type 'struct _frame' +Patch55: sip-4.19.25-pyframe_getback.patch # extracted from sip.h, SIP_API_MAJOR_NR SIP_API_MINOR_NR defines Source1: macros.sip @@ -221,6 +223,7 @@ This is the Python 3 build of wx-siplib. %patch51 -p1 -b .no_rpath %patch53 -p1 -b .no_sip_so %patch54 -p1 -b .py_ssize_t_clean +%patch55 -p1 -b .pyframe_getback %build From 91d37abf48edecc3b4ab1847adddb646fb79c883 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 08:43:59 +0000 Subject: [PATCH 03/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 1156a49..62847d3 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 4%{?dist} +Release: 5%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -478,6 +478,9 @@ popd %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 4.19.25-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 4.19.25-4 - Rebuilt for Python 3.11 From 0ad5d9db3ad6556ef1378af0b547b6404006cbeb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 03:23:11 +0000 Subject: [PATCH 04/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 62847d3..31c86e4 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 5%{?dist} +Release: 6%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -478,6 +478,9 @@ popd %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 4.19.25-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 4.19.25-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From b6a303041046e1fd39c657c656e21e22f041812f Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Tue, 7 Mar 2023 20:20:56 +0100 Subject: [PATCH 05/18] fixed bz#2154988, fails to build with Python 3.12: ModuleNotFoundError: No module named 'distutils' --- sip.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 31c86e4..be6c403 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 6%{?dist} +Release: 7%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -85,6 +85,8 @@ BuildRequires: sed BuildRequires: bison BuildRequires: flex +BuildRequires: python-setuptools + Obsoletes: sip-macros < %{version}-%{release} Provides: sip-macros = %{version}-%{release} @@ -478,6 +480,9 @@ popd %changelog +* Tue Mar 07 2023 Than Ngo - 4.19.25-7 +- fixed bz#2154988, fails to build with Python 3.12: ModuleNotFoundError: No module named 'distutils' + * Sat Jan 21 2023 Fedora Release Engineering - 4.19.25-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 0c2f14c4519d1b8ea9241c3fdb2ddadc9203425f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:50:10 +0200 Subject: [PATCH 06/18] Rebuilt for Python 3.12 --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index be6c403..33d875d 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 7%{?dist} +Release: 8%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -480,6 +480,9 @@ popd %changelog +* Tue Jun 13 2023 Python Maint - 4.19.25-8 +- Rebuilt for Python 3.12 + * Tue Mar 07 2023 Than Ngo - 4.19.25-7 - fixed bz#2154988, fails to build with Python 3.12: ModuleNotFoundError: No module named 'distutils' From ecd053a61b179f82eb2cdaacfc433fe0304ebbc4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 01:49:05 +0000 Subject: [PATCH 07/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 33d875d..4d9db0c 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 8%{?dist} +Release: 9%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -480,6 +480,9 @@ popd %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 4.19.25-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 13 2023 Python Maint - 4.19.25-8 - Rebuilt for Python 3.12 From 675d011e68f0345227da9558f81728099acb712b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 03:23:33 +0000 Subject: [PATCH 08/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 4d9db0c..f6164b2 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 9%{?dist} +Release: 10%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -480,6 +480,9 @@ popd %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 4.19.25-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 4.19.25-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 0b47969ef1682dd5eba14dcd1e4327c1addd0bd3 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:49 +0200 Subject: [PATCH 09/18] Eliminate use of obsolete %patchN syntax (#2283636) --- sip.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sip.spec b/sip.spec index f6164b2..d21300a 100644 --- a/sip.spec +++ b/sip.spec @@ -221,11 +221,11 @@ This is the Python 3 build of wx-siplib. %setup -q -n %{name}-%{version}%{?snap:.%{snap}} -%patch50 -p1 -b .no_strip -%patch51 -p1 -b .no_rpath -%patch53 -p1 -b .no_sip_so -%patch54 -p1 -b .py_ssize_t_clean -%patch55 -p1 -b .pyframe_getback +%patch -P50 -p1 -b .no_strip +%patch -P51 -p1 -b .no_rpath +%patch -P53 -p1 -b .no_sip_so +%patch -P54 -p1 -b .py_ssize_t_clean +%patch -P55 -p1 -b .pyframe_getback %build From 5e32c23bbebe935e68561426beae2fbc955cdf39 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 09:00:39 +0200 Subject: [PATCH 10/18] Rebuilt for Python 3.13 --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index d21300a..5361726 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 10%{?dist} +Release: 11%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -480,6 +480,9 @@ popd %changelog +* Fri Jun 07 2024 Python Maint - 4.19.25-11 +- Rebuilt for Python 3.13 + * Sat Jan 27 2024 Fedora Release Engineering - 4.19.25-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From e70f79adba6ada151aed940d671b729c6ebad7b3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 05:43:23 +0000 Subject: [PATCH 11/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 5361726..4559c9d 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 11%{?dist} +Release: 12%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -480,6 +480,9 @@ popd %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 4.19.25-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 4.19.25-11 - Rebuilt for Python 3.13 From 8c04d87abb589a8c4ba71ddfcb0e165e1682b483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 21:58:26 +0200 Subject: [PATCH 12/18] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- sip.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sip.spec b/sip.spec index 4559c9d..fdd9aeb 100644 --- a/sip.spec +++ b/sip.spec @@ -47,10 +47,11 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 12%{?dist} +Release: 13%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) -License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) +# Automatically converted from old format: GPLv2 or GPLv3 and (GPLv3+ with exceptions) - review is highly recommended. +License: GPL-2.0-only OR GPL-3.0-only AND (LicenseRef-Callaway-GPLv3+-with-exceptions) Url: https://riverbankcomputing.com/software/sip/intro Source0: https://riverbankcomputing.com/static/Downloads/sip/%{version}/sip-%{version}%{?snap:.%{snap}}.tar.gz @@ -480,6 +481,9 @@ popd %changelog +* Wed Sep 04 2024 Miroslav Suchý - 4.19.25-13 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 4.19.25-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From b9d9920e0403dccf3eac36e2fb22fa367f465111 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 10:50:49 +0000 Subject: [PATCH 13/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index fdd9aeb..8d2960d 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 13%{?dist} +Release: 14%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) # Automatically converted from old format: GPLv2 or GPLv3 and (GPLv3+ with exceptions) - review is highly recommended. @@ -481,6 +481,9 @@ popd %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 4.19.25-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Sep 04 2024 Miroslav Suchý - 4.19.25-13 - convert license to SPDX From c50999f171ba97a888f8d85eee86cb96a22c7777 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:37:55 +0200 Subject: [PATCH 14/18] Rebuilt for Python 3.14 --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 8d2960d..5fd22ce 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 14%{?dist} +Release: 15%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) # Automatically converted from old format: GPLv2 or GPLv3 and (GPLv3+ with exceptions) - review is highly recommended. @@ -481,6 +481,9 @@ popd %changelog +* Mon Jun 02 2025 Python Maint - 4.19.25-15 +- Rebuilt for Python 3.14 + * Sun Jan 19 2025 Fedora Release Engineering - 4.19.25-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 6f3c12fee00a2764fa46dc1aabca9a36d5419fce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 18:21:44 +0000 Subject: [PATCH 15/18] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 5fd22ce..8b246f1 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 15%{?dist} +Release: 16%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) # Automatically converted from old format: GPLv2 or GPLv3 and (GPLv3+ with exceptions) - review is highly recommended. @@ -481,6 +481,9 @@ popd %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 4.19.25-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jun 02 2025 Python Maint - 4.19.25-15 - Rebuilt for Python 3.14 From a85112733e465e61f383a24343d72adfe5baa2b5 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 15:17:58 +0200 Subject: [PATCH 16/18] Rebuilt for Python 3.14.0rc2 bytecode --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index 8b246f1..cba4e00 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 16%{?dist} +Release: 17%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) # Automatically converted from old format: GPLv2 or GPLv3 and (GPLv3+ with exceptions) - review is highly recommended. @@ -481,6 +481,9 @@ popd %changelog +* Fri Aug 15 2025 Python Maint - 4.19.25-17 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 4.19.25-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 7245e3021ae160ab59a76cfb9a76121d15f85f32 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 14:56:40 +0200 Subject: [PATCH 17/18] Rebuilt for Python 3.14.0rc3 bytecode --- sip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sip.spec b/sip.spec index cba4e00..b8b05a5 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 17%{?dist} +Release: 18%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) # Automatically converted from old format: GPLv2 or GPLv3 and (GPLv3+ with exceptions) - review is highly recommended. @@ -481,6 +481,9 @@ popd %changelog +* Fri Sep 19 2025 Python Maint - 4.19.25-18 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 4.19.25-17 - Rebuilt for Python 3.14.0rc2 bytecode From cc94854a864152c00ed04a41c16a19cfb7cd0baa Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Thu, 27 Nov 2025 12:49:29 +0100 Subject: [PATCH 18/18] =?UTF-8?q?Fix=20rhbz#2414555=20-=20error:=20implici?= =?UTF-8?q?t=20declaration=20of=20function=20=E2=80=98PyWeakref=5FGetObjec?= =?UTF-8?q?t=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sip-4.19.25-ftbfs-python-3.15.patch | 20 ++++++++++++++++++++ sip.spec | 8 +++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 sip-4.19.25-ftbfs-python-3.15.patch diff --git a/sip-4.19.25-ftbfs-python-3.15.patch b/sip-4.19.25-ftbfs-python-3.15.patch new file mode 100644 index 0000000..31ec6b9 --- /dev/null +++ b/sip-4.19.25-ftbfs-python-3.15.patch @@ -0,0 +1,20 @@ +diff -up sip-4.19.25/siplib/qtlib.c.pyweekref_getobject sip-4.19.25/siplib/qtlib.c +--- sip-4.19.25/siplib/qtlib.c.pyweekref_getobject 2021-02-26 16:17:35.136483000 +0100 ++++ sip-4.19.25/siplib/qtlib.c 2025-11-12 18:23:13.020805318 +0100 +@@ -24,6 +24,16 @@ + + #include "sipint.h" + ++// Fix FTBFS with python3.15 ++#if PY_VERSION_HEX >= 0x30F00A1 ++static inline PyObject *compat_PyWeakref_GetObject(PyObject *ref) { ++ PyObject *obj = NULL; ++ if (PyWeakref_GetRef(ref, &obj) < 0) ++ return NULL; ++ return obj; ++} ++#define PyWeakref_GetObject compat_PyWeakref_GetObject ++#endif + + /* This is how Qt "types" signals and slots. */ + #define isQtSlot(s) (*(s) == '1') diff --git a/sip.spec b/sip.spec index b8b05a5..c4c77e6 100644 --- a/sip.spec +++ b/sip.spec @@ -47,7 +47,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.25 -Release: 18%{?dist} +Release: 19%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) # Automatically converted from old format: GPLv2 or GPLv3 and (GPLv3+ with exceptions) - review is highly recommended. @@ -73,6 +73,8 @@ Patch53: sip-4.19.18-no_hardcode_sip_so.patch Patch54: sip-4.19.25-py_ssize_t_clean.patch # Fix error: invalid use of undefined type 'struct _frame' Patch55: sip-4.19.25-pyframe_getback.patch +# Fix error: implicit declaration of function ‘PyWeakref_GetObject’ +Patch56: sip-4.19.25-ftbfs-python-3.15.patch # extracted from sip.h, SIP_API_MAJOR_NR SIP_API_MINOR_NR defines Source1: macros.sip @@ -227,6 +229,7 @@ This is the Python 3 build of wx-siplib. %patch -P53 -p1 -b .no_sip_so %patch -P54 -p1 -b .py_ssize_t_clean %patch -P55 -p1 -b .pyframe_getback +%patch -P56 -p1 -b .pyweekref_getobject %build @@ -481,6 +484,9 @@ popd %changelog +* Thu Nov 27 2025 Than Ngo - 4.19.25-19 +- Fix rhbz#2414555 - error: implicit declaration of function ‘PyWeakref_GetObject’ + * Fri Sep 19 2025 Python Maint - 4.19.25-18 - Rebuilt for Python 3.14.0rc3 bytecode