From 011988191ecf7777e67c254d8001a23d2ae32cff Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Mon, 10 Jun 2024 09:13:53 +0200 Subject: [PATCH] Remove unnecessary BuildRequires These packages are either not needed, or are brought in anyway by their *-devel sub-packgages. It is possible to check whether the MySQL miss something by searching through the CMake checks, for "EXECUTABLE-NOTFOUND" keyword. Some are expected to be missing. e.g. Git. We don't want the MySQL to try to additional sources from web from git during compilation (not like it can anyway, but without the git, CMake won't even try) List of currently not found executables, for future reference: GIT_EXECUTABLE:FILEPATH=GIT_EXECUTABLE-NOTFOUND DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND CTAGS_EXECUTABLE:FILEPATH=CTAGS_EXECUTABLE-NOTFOUND PATCHELF_EXECUTABLE:FILEPATH=PATCHELF_EXECUTABLE-NOTFOUND --- mysql8.0.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/mysql8.0.spec b/mysql8.0.spec index 4671b01..9633615 100644 --- a/mysql8.0.spec +++ b/mysql8.0.spec @@ -150,7 +150,6 @@ BuildRequires: libaio-devel BuildRequires: libedit-devel BuildRequires: libevent-devel BuildRequires: libicu-devel -BuildRequires: lz4 BuildRequires: lz4-devel BuildRequires: mecab-devel BuildRequires: bison @@ -166,7 +165,6 @@ BuildRequires: perl-generators BuildRequires: rpcgen BuildRequires: libtirpc-devel BuildRequires: protobuf-lite-devel -BuildRequires: zlib BuildRequires: zlib-devel BuildRequires: multilib-rpm-config # Tests requires time and ps and some perl modules @@ -211,7 +209,6 @@ BuildRequires: perl(Time::HiRes) BuildRequires: perl(Time::localtime) BuildRequires: perl(warnings) BuildRequires: systemd -BuildRequires: make # Since MySQL 8.0.28 BuildRequires: libfido2-devel