Stopped removing the my_print_defaults when client is not built

as it is required by the server subpackage thus removing it when the
client subpackage is not being built will result in a build failure.

Related: RHEL-104250
This commit is contained in:
Pavol Sloboda 2025-05-14 15:50:06 +02:00 committed by Michal Schorm
parent 70be037a81
commit 509086ab6f

View File

@ -717,10 +717,10 @@ rm %{buildroot}%{_mandir}/man1/mysql_config.1*
%if ! %{with client}
rm %{buildroot}%{_bindir}/{mysql,mysql_config_editor,\
mysqladmin,mysqlbinlog,\
mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}
mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap}
rm %{buildroot}%{_mandir}/man1/{mysql,mysql_config_editor,\
mysqladmin,mysqlbinlog,\
mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap,my_print_defaults}.1*
mysqlcheck,mysqldump,mysqlimport,mysqlshow,mysqlslap}.1*
%endif
%if %{with config}