From c9d7d6f31d5f8ad7979201b65c03cb7fec4fd157 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Fri, 6 Mar 2015 21:50:59 +0100 Subject: [PATCH] Require -libs only when it is build --- mariadb.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index d177917..9651406 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -373,7 +373,7 @@ or products (such as Excel), or data retrieved from the environment %package devel Summary: Files for development of MariaDB/MySQL applications Group: Applications/Databases -Requires: %{name}-libs%{?_isa} = %{sameevr} +%{?with_clibrary:Requires: %{name}-libs%{?_isa} = %{sameevr}} Requires: openssl-devel%{?_isa} %if %{with mysql_names} Provides: mysql-devel = %{sameevr}