Skip to content

Commit

Permalink
Modified mysql to explicitly not use curl. (#10940)
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelWMS authored Nov 6, 2024
1 parent c681276 commit 32d38c5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions SPECS/mysql/mysql.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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 <[email protected]> - 8.0.40-3
- Explicitly setting "WITH_CURL=none".

* Mon Oct 28 2024 Pawel Winogrodzki <[email protected]> - 8.0.40-2
- Switch to ALZ version of protobuf instead of using the bundled one.

Expand Down

0 comments on commit 32d38c5

Please sign in to comment.