From 74e9f41ebac2261714b1ef601f87e8a8bc1fc749 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Wed, 29 Nov 2023 14:16:07 +0100 Subject: [PATCH] [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. --- mariadb.spec | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index c7732b8..f003a31 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -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