From d64dd2d83aa6053289a8bb8c5fb494fdc2b84680 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 21 Sep 2023 20:00:57 +0000 Subject: [PATCH] import CS python-pyqt5-sip-12.11.1-1.el9 --- .gitignore | 2 +- .python-pyqt5-sip.metadata | 2 +- SOURCES/python3.11.patch | 18 ------------------ SPECS/python-pyqt5-sip.spec | 9 ++++++--- 4 files changed, 8 insertions(+), 23 deletions(-) delete mode 100644 SOURCES/python3.11.patch diff --git a/.gitignore b/.gitignore index 96128f8..1af4a93 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/PyQt5_sip-12.9.1.tar.gz +SOURCES/PyQt5_sip-12.11.1.tar.gz diff --git a/.python-pyqt5-sip.metadata b/.python-pyqt5-sip.metadata index 4146fc9..a82de72 100644 --- a/.python-pyqt5-sip.metadata +++ b/.python-pyqt5-sip.metadata @@ -1 +1 @@ -8bdf1599b2ec10b25bdc66432ba37db161de8d13 SOURCES/PyQt5_sip-12.9.1.tar.gz +b60d188655fd161762623c39481a1c0bbaa615f2 SOURCES/PyQt5_sip-12.11.1.tar.gz diff --git a/SOURCES/python3.11.patch b/SOURCES/python3.11.patch deleted file mode 100644 index 914159b..0000000 --- a/SOURCES/python3.11.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -up PyQt5_sip-12.9.1/siplib.c.py311 PyQt5_sip-12.9.1/siplib.c ---- PyQt5_sip-12.9.1/siplib.c.py311 2022-02-01 08:29:23.000000000 -0500 -+++ PyQt5_sip-12.9.1/siplib.c 2022-03-11 20:46:19.056212494 -0500 -@@ -12750,7 +12750,14 @@ static struct _frame *sip_api_get_frame( - - while (frame != NULL && depth > 0) - { -+#if PY_VERSION_HEX < 0x03090000 - frame = frame->f_back; -+#else -+ frame = PyFrame_GetBack(frame); -+ -+ /* Historically we return a borrowed reference. */ -+ Py_XDECREF(frame); -+#endif - --depth; - } - diff --git a/SPECS/python-pyqt5-sip.spec b/SPECS/python-pyqt5-sip.spec index 8c2bd53..8828740 100644 --- a/SPECS/python-pyqt5-sip.spec +++ b/SPECS/python-pyqt5-sip.spec @@ -1,18 +1,17 @@ %global pkg_name pyqt5-sip %global pypi_name PyQt5_sip %global _sip_api_major 12 -%global _sip_api_minor 9 +%global _sip_api_minor 11 %global _sip_api %{_sip_api_major}.%{_sip_api_minor} Name: python-%{pkg_name} -Version: 12.9.1 +Version: 12.11.1 Release: 1%{?dist} Summary: The sip module support for PyQt5 License: GPLv2 or GPLv3 URL: https://www.riverbankcomputing.com/software/sip/ Source0: %{pypi_source} -Patch0: python3.11.patch BuildRequires: gcc BuildRequires: python3-devel @@ -48,6 +47,10 @@ Provides: python3-pyqt5-sip-api(%{_sip_api_major})%{?_isa} = %{_sip_api} %{python3_sitearch}/PyQt5/ %changelog +* Fri Apr 21 2023 Jan Grulich - 12.11.1-1 +- 12.11.1 + Resolves: bz#2188589 + * Thu May 26 2022 Jan Grulich - 12.9.1-1 - Initial package Resolves: bz#2090327