-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[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. | ||
|
||
|