From 26b0e09e3fae4b680736b13b0f7358d918714bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:53:41 +0200 Subject: [PATCH 01/31] Rebuilt for Python 3.9 --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 00a6219..b5834dc 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.20 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -87,6 +87,9 @@ chmod -x examples/*py %changelog +* Tue May 26 2020 Miro Hrončok - 8.0.20-2 +- Rebuilt for Python 3.9 + * Tue May 05 2020 Michal Schorm - 8.0.20-1 - Rebase to 8.0.20 - Upstream stopped to hardcode required protobuf version, patch can be removed From 194f2db09a6a4053ec64af55a98e91ac1d60d88e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 08:43:41 +0000 Subject: [PATCH 02/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index b5834dc..d4225d4 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.20 -Release: 2%{?dist} +Release: 3%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -87,6 +87,9 @@ chmod -x examples/*py %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 8.0.20-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 8.0.20-2 - Rebuilt for Python 3.9 From f88c87d6ea8134d7f25a514a3d9b70e2111d8b5c Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Wed, 19 Aug 2020 00:06:09 +0200 Subject: [PATCH 03/31] Rebase to 8.0.21 --- .gitignore | 1 + mysql-connector-python.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 92267ba..d3b0d23 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ clog /mysql-connector-python-8.0.16.tar.gz /mysql-connector-python-8.0.19.tar.gz /mysql-connector-python-8.0.20.tar.gz +/mysql-connector-python-8.0.21.tar.gz diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index d4225d4..151b456 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -12,8 +12,8 @@ %global with_tests %{?_with_tests:1}%{!?_with_tests:0} Name: mysql-connector-python -Version: 8.0.20 -Release: 3%{?dist} +Version: 8.0.21 +Release: 1%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -87,6 +87,9 @@ chmod -x examples/*py %changelog +* Wed Aug 19 2020 Michal Schorm - 8.0.21-1 +- Rebase to 8.0.21 + * Tue Jul 28 2020 Fedora Release Engineering - 8.0.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index a27e074..0e60d0e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mysql-connector-python-8.0.20.tar.gz) = 3b7298036f1b28eed98ca05ebc52619dbdf65393b4a01bf6eccea87d298da430ecfd19a3b327050ebc48b2c237698c7545c0196949d84cb79117f4d767d736aa +SHA512 (mysql-connector-python-8.0.21.tar.gz) = d73efd99774450bbf729ddbb19b80d09b8db151715d12b76e40497bf1d9ff658e0ad1e22dc9a73dd5f6736f7c075f94808a2f28b1c975aaa380bbb92cf4e7184 From 92b4dfc194d7334015905ede8a919d1926ab643b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 21:06:11 +0000 Subject: [PATCH 04/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 151b456..ae81d2d 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -87,6 +87,9 @@ chmod -x examples/*py %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 8.0.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Aug 19 2020 Michal Schorm - 8.0.21-1 - Rebase to 8.0.21 From 9d2a669130ac1a9010b54f31564ea46427f95f17 Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Mon, 19 Apr 2021 13:18:31 +0200 Subject: [PATCH 05/31] BuildRequire setuptools explicitly See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools --- mysql-connector-python.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index ae81d2d..5b59aaa 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -25,6 +25,7 @@ Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel >= 3 +BuildRequires: python3-setuptools %if %{with_tests} # for unittest BuildRequires: mysql-server From e2be5c6d8fe6d89b033c5c0d492a816242893360 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:12:24 +0200 Subject: [PATCH 06/31] Rebuilt for Python 3.10 --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 5b59aaa..7dadc76 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 2%{?dist} +Release: 3%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Fri Jun 04 2021 Python Maint - 8.0.21-3 +- Rebuilt for Python 3.10 + * Tue Jan 26 2021 Fedora Release Engineering - 8.0.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 9e872cc075b9741925d869ad5a95cb85b23156b9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 15:41:31 +0000 Subject: [PATCH 07/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 7dadc76..27b2a9f 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 3%{?dist} +Release: 4%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 8.0.21-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 8.0.21-3 - Rebuilt for Python 3.10 From b043f255940157e3272785b46eedaa770ff65c57 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 20:44:25 +0000 Subject: [PATCH 08/31] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 27b2a9f..fd96fd1 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 4%{?dist} +Release: 5%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 8.0.21-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 8.0.21-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 1bea3522377855c976bf0b025325e544aff18db9 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 14:51:32 +0200 Subject: [PATCH 09/31] Rebuilt for Python 3.11 --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index fd96fd1..810ad16 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 5%{?dist} +Release: 6%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Mon Jun 13 2022 Python Maint - 8.0.21-6 +- Rebuilt for Python 3.11 + * Thu Jan 20 2022 Fedora Release Engineering - 8.0.21-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 85f96685eb4c8531b6f65fca5100e96d47372612 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 00:04:22 +0000 Subject: [PATCH 10/31] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 810ad16..c75c24b 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 6%{?dist} +Release: 7%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 8.0.21-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 8.0.21-6 - Rebuilt for Python 3.11 From e2403c21281d647b891c84c35da2895570deaa62 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 21:04:34 +0000 Subject: [PATCH 11/31] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index c75c24b..1175f17 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 7%{?dist} +Release: 8%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 8.0.21-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 8.0.21-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From b1bd32733b7c75f175c11f120aaf467087a7e2a1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:22:57 +0200 Subject: [PATCH 12/31] Rebuilt for Python 3.12 --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 1175f17..c98be27 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 8%{?dist} +Release: 9%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Tue Jun 13 2023 Python Maint - 8.0.21-9 +- Rebuilt for Python 3.12 + * Thu Jan 19 2023 Fedora Release Engineering - 8.0.21-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 92835c8b9ff91bfe1009ef70e4dfc623c7b1befa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 16:09:30 +0000 Subject: [PATCH 13/31] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index c98be27..3f59788 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 9%{?dist} +Release: 10%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 8.0.21-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 13 2023 Python Maint - 8.0.21-9 - Rebuilt for Python 3.12 From 4a4146c7f76712b99885e7a35215ed50bfda0733 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 09:00:52 +0000 Subject: [PATCH 14/31] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 3f59788..85211ac 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 10%{?dist} +Release: 11%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 8.0.21-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 8.0.21-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From e84da12ea819470392b8273d33ef40132e428313 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 08:28:54 +0000 Subject: [PATCH 15/31] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 85211ac..e0c460d 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 11%{?dist} +Release: 12%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 8.0.21-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 8.0.21-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 962187f8e5f1d08394c4c65841ae8ccf8c9bbe19 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 08:33:04 +0200 Subject: [PATCH 16/31] Rebuilt for Python 3.13 --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index e0c460d..0e91b5c 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 12%{?dist} +Release: 13%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Fri Jun 07 2024 Python Maint - 8.0.21-13 +- Rebuilt for Python 3.13 + * Thu Jan 25 2024 Fedora Release Engineering - 8.0.21-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From af38e72c814217a261fa605238ac3ebc351aadf9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 19:00:48 +0000 Subject: [PATCH 17/31] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 0e91b5c..2be0b89 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 13%{?dist} +Release: 14%{?dist} Summary: MySQL Connector for Python 3 License: GPLv2 with exceptions @@ -88,6 +88,9 @@ chmod -x examples/*py %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 8.0.21-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 8.0.21-13 - Rebuilt for Python 3.13 From 5dd89a02bc402c247fd1ba768d81489a374002ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 2 Sep 2024 12:04:06 +0200 Subject: [PATCH 18/31] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- mysql-connector-python.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 2be0b89..a98a40d 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,10 +13,11 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 14%{?dist} +Release: 15%{?dist} Summary: MySQL Connector for Python 3 -License: GPLv2 with exceptions +# Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. +License: LicenseRef-Callaway-GPLv2-with-exceptions URL: http://dev.mysql.com/doc/connector-python/en/index.html # Upstream has a mirror redirector for downloads, so the URL is hard to # represent statically. You can get the tarball by following a link from @@ -88,6 +89,9 @@ chmod -x examples/*py %changelog +* Mon Sep 02 2024 Miroslav Suchý - 8.0.21-15 +- convert license to SPDX + * Thu Jul 18 2024 Fedora Release Engineering - 8.0.21-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 25aec7da904f9540c1a344d8f6275b6c37411d6b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 19:31:38 +0000 Subject: [PATCH 19/31] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index a98a40d..22dbcaf 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 15%{?dist} +Release: 16%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -89,6 +89,9 @@ chmod -x examples/*py %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 8.0.21-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Sep 02 2024 Miroslav Suchý - 8.0.21-15 - convert license to SPDX From a9a16e975ddf49a7efba0f858388274edafef55a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 19:58:15 +0200 Subject: [PATCH 20/31] Rebuilt for Python 3.14 --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 22dbcaf..deab82e 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -13,7 +13,7 @@ Name: mysql-connector-python Version: 8.0.21 -Release: 16%{?dist} +Release: 17%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -89,6 +89,9 @@ chmod -x examples/*py %changelog +* Mon Jun 02 2025 Python Maint - 8.0.21-17 +- Rebuilt for Python 3.14 + * Fri Jan 17 2025 Fedora Release Engineering - 8.0.21-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From db4f4e5c47039972be3896dbea4a1e5142f7e309 Mon Sep 17 00:00:00 2001 From: Pavol Sloboda Date: Thu, 19 Jun 2025 11:49:01 +0200 Subject: [PATCH 21/31] Rebase to 8.0.33 This rebase reworked the documentation by adding a man page. It also moved most of the files of the package from %{python3_sitelib} to %{python3_sitearch} which expands to /usr/lib/python3.X/site-packages or /usr/lib64/python3.X/site-packages depending on the build architecture. This means that the package can no longer be noarch since most of the file locations are now architecture dependent. The source tarball also changed name from %{name}-%{version}.tar.gz to %{name}-%{version}-src.tar.gz We are only able to build the _mysql_connector C extension and not the _mysqlxpb C extension as it requires protobuf >= 4.25.3 and we only have 3.19.6 in Fedora. When protobuf gets rebased to a sufficient version we will be able to build this extension as well. More info: https://dev.mysql.com/doc/connector-python/en/connector-python-installation-source.html The skeleton of how the mysqlxpb extension will be built is present in the spec file for easier future enabling but disabled using the with_mysqlxpb condition. --- .gitignore | 1 + mysql-connector-python.spec | 69 ++++++++++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 62 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index d3b0d23..361ac4e 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ clog /mysql-connector-python-8.0.19.tar.gz /mysql-connector-python-8.0.20.tar.gz /mysql-connector-python-8.0.21.tar.gz +/mysql-connector-python-8.0.33-src.tar.gz diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index deab82e..ef6d95a 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -11,9 +11,17 @@ # Tests rely on MySQL version 5.6 %global with_tests %{?_with_tests:1}%{!?_with_tests:0} +# The building of the mysqlxb C extension is +# disabled at the moment as it requires protobuf +# with version 4.25.3 or higher and we only have +# 3.19.6 in fedora at the moment, when protobuf is +# rebased to a sufficient version this condition +# should either be enabled or removed altogether +%global with_mysqlxpb 0 + Name: mysql-connector-python -Version: 8.0.21 -Release: 17%{?dist} +Version: 8.0.33 +Release: 1%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -22,16 +30,26 @@ URL: http://dev.mysql.com/doc/connector-python/en/index.html # Upstream has a mirror redirector for downloads, so the URL is hard to # represent statically. You can get the tarball by following a link from # http://dev.mysql.com/downloads/connector/python/ -Source0: %{name}-%{version}.tar.gz +Source0: %{name}-%{version}-src.tar.gz -BuildArch: noarch BuildRequires: python3-devel >= 3 BuildRequires: python3-setuptools +BuildRequires: gcc-c++ +# for building the extension modules +BuildRequires: mysql-devel +# for building documentation +BuildRequires: python3-sphinx +# for import check (runtime dependency) +BuildRequires: python3-protobuf %if %{with_tests} # for unittest BuildRequires: mysql-server %endif +%if %{with_mysqlxpb} +BuildRequires: protobuf-devel >= 4.25.3 +BuildRequires: protobuf-compiler >= 4.25.3 +%endif %global _description\ MySQL Connector/Python is implementing the MySQL Client/Server protocol\ @@ -56,19 +74,41 @@ Documentation: http://dev.mysql.com/doc/connector-python/en/index.html %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name}-%{version}-src chmod -x examples/*py %build -# nothing to build +export MYSQL_CAPI=%{_prefix} # searches for bin/mysql_config in here, enables the extension module +export LDFLAGS="$LDFLAGS -L%{_libdir}/mysql" + +%if %{with_mysqlxpb} +export MYSQLXPB_PROTOBUF=%{_prefix} +export MYSQLXPB_PROTOBUF_INCLUDE_DIR=%{_includedir} +export MYSQLXPB_PROTOBUF_LIB_DIR=%{_libdir} +export MYSQLXPB_PROTOC="%{_bindir}/protoc" +%endif +%py3_build + +#building the man pages +cd docs/mysqlx +%{__python3} conf.py +make man BUILDDIR=%{_builddir} %install -%{__python3} setup.py install --root %{buildroot} +%py3_install +# create the man dir +mkdir -p %{buildroot}%{_mandir}/man1 +# install the man page into the man dir with +# a more fitting name +install -p -m 0644 %{_builddir}/man/mysqlxconnectorpythondevapireference.1 %{buildroot}%{_mandir}/man1/%{name}3.1 +# remove the source files the man page was generated from +rm -r docs/mysqlx %check +%py3_check_import mysql mysqlx %if %{with_tests} # known failed tests # bugs.BugOra14201459.test_error1426 @@ -85,10 +125,21 @@ chmod -x examples/*py %doc CHANGES.txt README* docs %doc examples %license LICENSE.txt -%{python3_sitelib}/* - +# can't just use %%{python3_sitearch}/* as the packaging +# guidelines dont' allow it +%{python3_sitearch}/mysql/ +%{python3_sitearch}/mysqlx/ +%{python3_sitearch}/_mysql_connector%{python3_ext_suffix} +%if %{with_mysqlxpb} +%{python3_sitearch}/_mysqlxpb%{python3_ext_suffix} +%endif +%{python3_sitearch}/mysql_connector_python-%{version}-py%{python3_version}.egg-info/ +%{_mandir}/man1/%{name}3.1.* %changelog +* Wed Jun 18 2025 Pavol Sloboda - 8.0.33-1 +- Rebase to 8.0.33 + * Mon Jun 02 2025 Python Maint - 8.0.21-17 - Rebuilt for Python 3.14 diff --git a/sources b/sources index 0e60d0e..450c654 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mysql-connector-python-8.0.21.tar.gz) = d73efd99774450bbf729ddbb19b80d09b8db151715d12b76e40497bf1d9ff658e0ad1e22dc9a73dd5f6736f7c075f94808a2f28b1c975aaa380bbb92cf4e7184 +SHA512 (mysql-connector-python-8.0.33-src.tar.gz) = da78e23fca47e7be8a1a0355f037d5fc2a68e6414b7da9bbd0cb8c68e2027b041cd78aea65a922079666df2873adebfce56c30f5726c52e7176adf9a87b9ad1b From 1a92b0ad2cf47fdb95004924bdb6b303e2dca4a6 Mon Sep 17 00:00:00 2001 From: Pavol Sloboda Date: Wed, 25 Jun 2025 15:21:21 +0200 Subject: [PATCH 22/31] [SPDX] As the last rebase introduced a couple of changes in the LICENSE.txt file I have decided to look into the licensing of this package After some analysis I found the following licenses: (MIT OR GPL-2.0-only) AND GPL-2.0-only AND BSD-2-Clause Since: The main LICENSE.txt file has the GPL-2.0-only license inside it. the sphinx_rtd_theme project is licensed under MIT/GPL-2.0-only most of the project has explicit headers in the files stating to use the license of the `sphinx_rtd_theme project` namely: all the files inside docs/mysqlx/_themes/sphinx_rtd_theme/locale/ some of the files inside docs/mysqlx/_themes/sphinx_rtd_theme/static/js though some of the last mentioned ones also have GPL2 specified in them as an alternative to the MIT The search.html file is licensed under the BSD-2-Clause since it contains a link to this file: https://github.com/sphinx-doc/sphinx/blob/master/LICENSE which is an invalid link because the target file was renamed to LICENSE.rst therefore the link should be: https://github.com/sphinx-doc/sphinx/blob/master/LICENSE.rst and the target of said link contains the BSD-2-Clause license The main LICENSE.txt file also contains the: Universal FOSS Exception, Version 1.0 which can be found here: https://oss.oracle.com/licenses/universal-foss-exception/ as linked in the LICENSE.txt file I will not mention the exception in the License clause since there is an issue opened on gitlab which can be found here: https://gitlab.com/fedora/legal/fedora-license-data/-/issues/182 which states that the exception should be omitted for the time being. I will try to reach out to the people assigned to the issue as the last update to it was in 2023 and this exception is present in multiple mysql product we package. --- mysql-connector-python.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index ef6d95a..4f53fc0 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -25,7 +25,7 @@ Release: 1%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. -License: LicenseRef-Callaway-GPLv2-with-exceptions +License: (MIT OR GPL-2.0-only) AND GPL-2.0-only AND BSD-2-Clause URL: http://dev.mysql.com/doc/connector-python/en/index.html # Upstream has a mirror redirector for downloads, so the URL is hard to # represent statically. You can get the tarball by following a link from From 74793183299b1b53afbb02d3e5bd71d9d2febaae Mon Sep 17 00:00:00 2001 From: Pavol Sloboda Date: Tue, 1 Jul 2025 09:12:40 +0200 Subject: [PATCH 23/31] Started modifying the source package as it contains problematic licenses for the fonts contained in it. After inspecting the fonts inside the docs/mysqlx/_themes/sphinx_rtd_theme/static/css/fonts/ using the fontforge tool I have discovered that the font families are licensed like this: * fontawesome: Copyright Dave Gandy 2016. All rights reserved. * latto: Copyright (c) 2011-2015 by tyPoland Lukasz Dziedzic (http://www.typoland.com/) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1 (http://scripts.sil.org/OFL) * Roboto: Font data copyright Google 2013 This means the fontawesome and Roboto font families are licensed under a strict copyright which is not supported when packaging fonts in fedora and since we don't use the fonts during the build process nor do we package them in the package I have decided to remove them from the archive and rename the archive to %{name}-%{version}-src-without-fonts.tar.gz to avoid any possible confusion when packaging this package in the future. I have also added the generate-modified-sources.sh script that downloads the original sources from the mysql upstream, unpacks them, removes the aforementioned fonts and packs the sources under a new name. --- .gitignore | 1 + generate-modified-sources.sh | 49 ++++++++++++++++++++++++++++++++++++ mysql-connector-python.spec | 13 +++++++--- sources | 2 +- 4 files changed, 60 insertions(+), 5 deletions(-) create mode 100755 generate-modified-sources.sh diff --git a/.gitignore b/.gitignore index 361ac4e..afd1ae2 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ clog /mysql-connector-python-8.0.20.tar.gz /mysql-connector-python-8.0.21.tar.gz /mysql-connector-python-8.0.33-src.tar.gz +/mysql-connector-python-8.0.33-src-without-fonts.tar.gz diff --git a/generate-modified-sources.sh b/generate-modified-sources.sh new file mode 100755 index 0000000..bf9984e --- /dev/null +++ b/generate-modified-sources.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +################################# +# downloads the sources of +# mysql-connector-python +# extracts them, removes the +# fonts since they have problematic +# copyright and packs the result +# under a new name +################################# + +set -ex + +NAME="mysql-connector-python" +# gets the version of the package from the spec file +VERSION=$( rpmspec -q --srpm --qf '%{VERSION}' "${NAME}.spec" ) + +# the source url of the mysql upstream tarball of the package +SOURCE_URL="http://dev.mysql.com/get/Downloads/Connector-python/8.0/${NAME}-${VERSION}-src.tar.gz" + +# original archive name +OLD_ARCHIVE_NAME="${NAME}-${VERSION}-src" +# new tarball name, chnaged to able to differentiate between +# the original and the changed tarball +NEW_ARCHIVE_NAME="${OLD_ARCHIVE_NAME}-without-fonts" + +# removes the old tarball, new tarball and the unpacked tarball +# if they are present in the current directory +rm -rf "./${OLD_ARCHIVE_NAME}.tar.gz" "./${OLD_ARCHIVE_NAME}/" "./${NEW_ARCHIVE_NAME}.tar.gz" + +# downloads the source tarball from the url +# specified above +wget "${SOURCE_URL}" + +#unpacks the original tarball +tar -xzf "${OLD_ARCHIVE_NAME}.tar.gz" + +# removes the problematic font files +rm "./${OLD_ARCHIVE_NAME}/docs/mysqlx/_themes/sphinx_rtd_theme/static/css/fonts/"* + +# compresses the modified sources under a new name +tar -czf "${NEW_ARCHIVE_NAME}.tar.gz" "${OLD_ARCHIVE_NAME}" + +# removes the unpacked sources +rm -r "${OLD_ARCHIVE_NAME}" + +# removes the original tarball so it isn't used +# by mistake +rm -f "${OLD_ARCHIVE_NAME}.tar.gz" diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 4f53fc0..bd0a2dd 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -27,10 +27,15 @@ Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. License: (MIT OR GPL-2.0-only) AND GPL-2.0-only AND BSD-2-Clause URL: http://dev.mysql.com/doc/connector-python/en/index.html -# Upstream has a mirror redirector for downloads, so the URL is hard to -# represent statically. You can get the tarball by following a link from -# http://dev.mysql.com/downloads/connector/python/ -Source0: %{name}-%{version}-src.tar.gz +# You can get the original tarball from: +# http://dev.mysql.com/get/Downloads/Connector-python/8.0/%%{name}-%%{version}-src.tar.gz" + +# The tarball has to be modified as the fonts are licensed under a copyright +# and therefore would clash with the allowed licenses for fonts in fedora if +# they were shipped in the src rpm +# to modify the tarball to the desired form use the +# generate-modified-sources.sh script available in this repo +Source0: %{name}-%{version}-src-without-fonts.tar.gz BuildRequires: python3-devel >= 3 BuildRequires: python3-setuptools diff --git a/sources b/sources index 450c654..679ad39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mysql-connector-python-8.0.33-src.tar.gz) = da78e23fca47e7be8a1a0355f037d5fc2a68e6414b7da9bbd0cb8c68e2027b041cd78aea65a922079666df2873adebfce56c30f5726c52e7176adf9a87b9ad1b +SHA512 (mysql-connector-python-8.0.33-src-without-fonts.tar.gz) = 81e0d84ab71ed83e6f2f201b1d285507fb2b0d2dae57df97246ac037bc37974477139c500bfce2e348285ef6d7943fdba1bd0fe53c61b451492e9d1b43d0e65a From 2db02910a590a5876c6854823dd7c254b641df37 Mon Sep 17 00:00:00 2001 From: Pavol Sloboda Date: Thu, 10 Jul 2025 10:27:44 +0200 Subject: [PATCH 24/31] Changed from the old python setup.py macros to the pyproject macros As mentioned here: https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros Fedora is migrating from the old setup.py macros to the pyproject macros as the setup.py macros are planed to be deprecated in the near future. Resolves: RHBZ#2377338 --- mysql-connector-python.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index bd0a2dd..38d7a22 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -38,7 +38,6 @@ URL: http://dev.mysql.com/doc/connector-python/en/index.html Source0: %{name}-%{version}-src-without-fonts.tar.gz BuildRequires: python3-devel >= 3 -BuildRequires: python3-setuptools BuildRequires: gcc-c++ # for building the extension modules BuildRequires: mysql-devel @@ -56,6 +55,9 @@ BuildRequires: protobuf-devel >= 4.25.3 BuildRequires: protobuf-compiler >= 4.25.3 %endif +%generate_buildrequires +%pyproject_buildrequires + %global _description\ MySQL Connector/Python is implementing the MySQL Client/Server protocol\ completely in Python. No MySQL libraries are needed, and no compilation\ @@ -92,7 +94,7 @@ export MYSQLXPB_PROTOBUF_INCLUDE_DIR=%{_includedir} export MYSQLXPB_PROTOBUF_LIB_DIR=%{_libdir} export MYSQLXPB_PROTOC="%{_bindir}/protoc" %endif -%py3_build +%pyproject_wheel #building the man pages cd docs/mysqlx @@ -101,7 +103,7 @@ make man BUILDDIR=%{_builddir} %install -%py3_install +%pyproject_install # create the man dir mkdir -p %{buildroot}%{_mandir}/man1 # install the man page into the man dir with @@ -138,7 +140,7 @@ rm -r docs/mysqlx %if %{with_mysqlxpb} %{python3_sitearch}/_mysqlxpb%{python3_ext_suffix} %endif -%{python3_sitearch}/mysql_connector_python-%{version}-py%{python3_version}.egg-info/ +%{python3_sitearch}/mysql_connector_python-%{version}.dist-info/ %{_mandir}/man1/%{name}3.1.* %changelog From c48e8724fea365efe2edd400dfd04b92da785c7d Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Tue, 15 Jul 2025 14:05:27 +0200 Subject: [PATCH 25/31] Bump release for package rebuild --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 38d7a22..b1c4eb7 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -21,7 +21,7 @@ Name: mysql-connector-python Version: 8.0.33 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -144,6 +144,9 @@ rm -r docs/mysqlx %{_mandir}/man1/%{name}3.1.* %changelog +* Tue Jul 15 2025 Michal Schorm - 8.0.33-2 +- Bump release for package rebuild + * Wed Jun 18 2025 Pavol Sloboda - 8.0.33-1 - Rebase to 8.0.33 From a643b468a5eb3c47c5e2ade0d1b983f3b15d1729 Mon Sep 17 00:00:00 2001 From: Pavol Sloboda Date: Mon, 21 Jul 2025 13:54:05 +0200 Subject: [PATCH 26/31] Added a patch that removes the addition of RPATH to _mysql_connector.cpython-3XY-%{arch}-linux-gnu.so as it was flagged by rpminspect as an invalid looking rpath. --- mysql-connector-python-rpath.patch | 13 +++++++++++++ mysql-connector-python.spec | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 mysql-connector-python-rpath.patch diff --git a/mysql-connector-python-rpath.patch b/mysql-connector-python-rpath.patch new file mode 100644 index 0000000..7f9e0d0 --- /dev/null +++ b/mysql-connector-python-rpath.patch @@ -0,0 +1,13 @@ +diff -Naur mysql-connector-python-8.0.33-src/cpydist/__init__.py mysql-connector-python_patched/cpydist/__init__.py +--- mysql-connector-python-8.0.33-src/cpydist/__init__.py 2023-03-30 12:58:04.000000000 +0200 ++++ mysql-connector-python_patched/cpydist/__init__.py 2025-07-21 09:21:19.084953101 +0200 +@@ -722,9 +722,6 @@ + # Add extra link args + if self.extra_link_args: + ext.extra_link_args.extend(self.extra_link_args.split()) +- # Add -rpath if the platform is Linux +- if platform.system() == "Linux" and not self.skip_vendor: +- ext.extra_link_args.extend(["-Wl,-rpath,$ORIGIN/mysql/vendor"]) + # Add include dirs + if self.with_openssl_include_dir: + ext.include_dirs.append(self.with_openssl_include_dir) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index b1c4eb7..e4bd660 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -37,6 +37,8 @@ URL: http://dev.mysql.com/doc/connector-python/en/index.html # generate-modified-sources.sh script available in this repo Source0: %{name}-%{version}-src-without-fonts.tar.gz +Patch0: %{name}-rpath.patch + BuildRequires: python3-devel >= 3 BuildRequires: gcc-c++ # for building the extension modules @@ -83,6 +85,7 @@ Documentation: http://dev.mysql.com/doc/connector-python/en/index.html %prep %setup -q -n %{name}-%{version}-src chmod -x examples/*py +%patch -P0 -p1 %build export MYSQL_CAPI=%{_prefix} # searches for bin/mysql_config in here, enables the extension module From ddbcd03dca68ba34a7b317279b1c776fa34f1534 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Mon, 21 Jul 2025 14:58:18 +0200 Subject: [PATCH 27/31] Bump release for package rebuild --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index e4bd660..c85fb7e 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -21,7 +21,7 @@ Name: mysql-connector-python Version: 8.0.33 -Release: 2%{?dist} +Release: 3%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -147,6 +147,9 @@ rm -r docs/mysqlx %{_mandir}/man1/%{name}3.1.* %changelog +* Mon Jul 21 2025 Michal Schorm - 8.0.33-3 +- Bump release for package rebuild + * Tue Jul 15 2025 Michal Schorm - 8.0.33-2 - Bump release for package rebuild From 12a2629160dad8f40d3ff947e3c11aa57dd909b9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 22:33:07 +0000 Subject: [PATCH 28/31] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index c85fb7e..cd005f7 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -21,7 +21,7 @@ Name: mysql-connector-python Version: 8.0.33 -Release: 3%{?dist} +Release: 4%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -147,6 +147,9 @@ rm -r docs/mysqlx %{_mandir}/man1/%{name}3.1.* %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 8.0.33-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jul 21 2025 Michal Schorm - 8.0.33-3 - Bump release for package rebuild From fc4b2fbfd138116c918f8ac74d6570dd27a41eb8 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Tue, 29 Jul 2025 12:51:18 +0200 Subject: [PATCH 29/31] Disable i686 on Fedora >= 43 MySQL 8.4 is not supported on 32-bit architectures This commit is part of: https://fedoraproject.org/wiki/Changes/switch_distribution_default_MySQL_from_8.0_to_8.4 --- mysql-connector-python.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index cd005f7..43aa356 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -7,6 +7,10 @@ # Please, preserve the changelog entries # +%if 0%{?fedora} >= 43 +ExcludeArch: %{ix86} +%endif + # Tests only run on manual build --with tests # Tests rely on MySQL version 5.6 %global with_tests %{?_with_tests:1}%{!?_with_tests:0} @@ -21,7 +25,7 @@ Name: mysql-connector-python Version: 8.0.33 -Release: 4%{?dist} +Release: 5%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -147,6 +151,9 @@ rm -r docs/mysqlx %{_mandir}/man1/%{name}3.1.* %changelog +* Tue Jul 29 2025 Michal Schorm - 8.0.33-5 +- Rebuild without i686 architecture - MySQL 8.4 no longer supports it + * Thu Jul 24 2025 Fedora Release Engineering - 8.0.33-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 3806812cec31f63f527c0b48d8ce3b30e476ffc4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:01:14 +0200 Subject: [PATCH 30/31] Rebuilt for Python 3.14.0rc2 bytecode --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index 43aa356..d40cf9e 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -25,7 +25,7 @@ ExcludeArch: %{ix86} Name: mysql-connector-python Version: 8.0.33 -Release: 5%{?dist} +Release: 6%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -151,6 +151,9 @@ rm -r docs/mysqlx %{_mandir}/man1/%{name}3.1.* %changelog +* Fri Aug 15 2025 Python Maint - 8.0.33-6 +- Rebuilt for Python 3.14.0rc2 bytecode + * Tue Jul 29 2025 Michal Schorm - 8.0.33-5 - Rebuild without i686 architecture - MySQL 8.4 no longer supports it From b076e4e1950683e4ba067036e4bdd6b553cbf474 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:32:03 +0200 Subject: [PATCH 31/31] Rebuilt for Python 3.14.0rc3 bytecode --- mysql-connector-python.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index d40cf9e..9edcd5f 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -25,7 +25,7 @@ ExcludeArch: %{ix86} Name: mysql-connector-python Version: 8.0.33 -Release: 6%{?dist} +Release: 7%{?dist} Summary: MySQL Connector for Python 3 # Automatically converted from old format: GPLv2 with exceptions - review is highly recommended. @@ -151,6 +151,9 @@ rm -r docs/mysqlx %{_mandir}/man1/%{name}3.1.* %changelog +* Fri Sep 19 2025 Python Maint - 8.0.33-7 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 8.0.33-6 - Rebuilt for Python 3.14.0rc2 bytecode