[mariadb-galera] Require -libs only when it is build

Honza Horak hhorak at fedoraproject.org
Wed Mar 11 22:55:14 UTC 2015


commit cf08143b9a341ff687554ff69cf5d0dd7a5b0a1d
Author: Honza Horak <hhorak at redhat.com>
Date:   Fri Mar 6 21:50:59 2015 +0100

    Require -libs only when it is build

 mariadb-galera.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mariadb-galera.spec b/mariadb-galera.spec
index 8762ea2..c94cb7f 100644
--- a/mariadb-galera.spec
+++ b/mariadb-galera.spec
@@ -386,7 +386,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}


More information about the scm-commits mailing list