From 9b1f4f62a0cdf964ff35c0123ad1f3461e44b48f Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Tue, 26 Sep 2023 15:38:56 +0200 Subject: [PATCH] Rebase to 3.3.8 Since version 3.3.6, the build FTBFS with LTO flags. Disable them as a temporary workaround, so the version 3.3.8, which is required by mariadb-connector-odbc-3.1.20 could be built. Reported as rhbz#2257198 --- mariadb-connector-c.spec | 11 +++++++++-- sources | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/mariadb-connector-c.spec b/mariadb-connector-c.spec index 3211d38..69db4b9 100644 --- a/mariadb-connector-c.spec +++ b/mariadb-connector-c.spec @@ -3,11 +3,15 @@ # Enable building and packing of the testsuite %bcond_without testsuite +# TEMPORARY WORKAROUND: +# Build fails since 3.3.6 with LTO flags enabled +# Reported as rhbz#2257198 +%global _lto_cflags %{nil} Name: mariadb-connector-c -Version: 3.3.5 -Release: 2%{?with_debug:.debug}%{?dist} +Version: 3.3.8 +Release: 1%{?with_debug:.debug}%{?dist} Summary: The MariaDB Native Client library (C driver) License: LGPL-2.1-or-later Source: https://archive.mariadb.org/connector-c-%{version}/%{name}-%{version}-src.tar.gz @@ -241,6 +245,9 @@ install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf # Need to ensure, that the testsuite will also run properly on 'fedpkg local' buid, not damaging the host machine %changelog +* Tue Nov 28 2023 Michal Schorm - 3.3.8-1 +- Rebase to 3.3.8 + * Thu Jul 20 2023 Fedora Release Engineering - 3.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index fbdf123..d5f2705 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mariadb-connector-c-3.3.5-src.tar.gz) = 2d232cee76b889d17dbb77e0564f6bda55133a469f3ae38bb6e2f06e3d3933ab93fcb400ef9e36deff940eae9b6c96fd578b7f9850d0517a508e22ef41ca0e2d +SHA512 (mariadb-connector-c-3.3.8-src.tar.gz) = d2630bda8deb28696842a6b5dd308060a8b9a83a04dfb3ed908387f53af4108510c6f536aaecc4a3c9a035c7be91b98229d6c480366a3579b6be2c5a8d85ff56