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
This commit is contained in:
Michal Schorm 2023-09-26 15:38:56 +02:00
parent fd459754bd
commit 9b1f4f62a0
2 changed files with 10 additions and 3 deletions

View File

@ -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 <mschorm@redhat.com> - 3.3.8-1
- Rebase to 3.3.8
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (mariadb-connector-c-3.3.5-src.tar.gz) = 2d232cee76b889d17dbb77e0564f6bda55133a469f3ae38bb6e2f06e3d3933ab93fcb400ef9e36deff940eae9b6c96fd578b7f9850d0517a508e22ef41ca0e2d
SHA512 (mariadb-connector-c-3.3.8-src.tar.gz) = d2630bda8deb28696842a6b5dd308060a8b9a83a04dfb3ed908387f53af4108510c6f536aaecc4a3c9a035c7be91b98229d6c480366a3579b6be2c5a8d85ff56