[4/20] SPECfile cleanup - assuming we're on Fedora or RHEL>=8

The 'libs' and 'config' sub-packages are now superseded by 'mariadb-connector-c'.
No need for the control code around at the moment.
This commit is contained in:
Michal Schorm 2023-11-29 14:16:07 +01:00
parent 349a0add40
commit 74e9f41eba

View File

@ -78,11 +78,8 @@
%bcond_without gssapi
# For some use cases we do not need some parts of the package. Set to "...with" to exclude
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_with clibrary
%else
%bcond_without clibrary
%endif
%bcond_with config
%bcond_without embedded
%bcond_without devel
%bcond_without client
@ -94,15 +91,6 @@
%bcond_without galera
%bcond_without backup
# When there is already another package that ships /etc/my.cnf,
# rather include it than ship the file again, since conflicts between
# those files may create issues
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_with config
%else
%bcond_without config
%endif
# For deep debugging we need to build binaries with extra debug info
%bcond_with debug