From 994a33ffe044248563a565479613a52709450c61 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Wed, 28 Feb 2018 10:29:46 +0100 Subject: [PATCH] Add condition for the client library component --- mariadb.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mariadb.spec b/mariadb.spec index 6005829..991cbb1 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -49,7 +49,11 @@ %{!?_with_sphinx: %{!?_without_sphinx: %bcond_without sphinx}} # For some use cases we do not need some parts of the package. Set to "...with" to exclude +%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 %bcond_with clibrary +%else +%bcond_without clibrary +%endif %bcond_without embedded %bcond_without devel %bcond_without client