diff --git a/SPECS/mysql/mysql.spec b/SPECS/mysql/mysql.spec index 469298f87ac..3ad65e44ece 100644 --- a/SPECS/mysql/mysql.spec +++ b/SPECS/mysql/mysql.spec @@ -3,7 +3,7 @@ Summary: MySQL. Name: mysql Version: 8.0.40 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 with exceptions AND LGPLv2 AND BSD Vendor: Microsoft Corporation Distribution: Azure Linux @@ -38,14 +38,18 @@ Development headers for developing applications linking to maridb %prep %autosetup -p1 -# Remove unused, bundled version of protobuf. +# Remove bundled versions of some tools to guarantee they are +# not used by MySQL: # We're building with the '-DWITH_PROTOBUF=system' option. rm -r extra/protobuf +# We're building with the '-DWITH_CURL=none' option. +rm -r extra/curl %build cmake . \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DWITH_BOOST=boost/boost_1_77_0 \ + -DWITH_CURL=none \ -DWITH_PROTOBUF=system \ -DINSTALL_MANDIR=share/man \ -DINSTALL_DOCDIR=share/doc \ @@ -103,6 +107,9 @@ sudo -u test make test || { cat Testing/Temporary/LastTest.log; false; } %{_libdir}/pkgconfig/mysqlclient.pc %changelog +* Tue Nov 05 2024 Pawel Winogrodzki - 8.0.40-3 +- Explicitly setting "WITH_CURL=none". + * Mon Oct 28 2024 Pawel Winogrodzki - 8.0.40-2 - Switch to ALZ version of protobuf instead of using the bundled one.