[community-mysql] Require -libs only when it is build

Honza Horak hhorak at fedoraproject.org
Fri Mar 6 21:55:22 UTC 2015


commit df95dc8b675c9fd9ebdc34b6fdbf9527bed94b6a
Author: Honza Horak <hhorak at redhat.com>
Date:   Fri Mar 6 22:45:19 2015 +0100

    Require -libs only when it is build

 community-mysql.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/community-mysql.spec b/community-mysql.spec
index 6d75300..ffc1b0a 100644
--- a/community-mysql.spec
+++ b/community-mysql.spec
@@ -289,7 +289,7 @@ the MySQL server and some accompanying files and directories.
 %package          devel
 Summary:          Files for development of MySQL applications
 Group:            Applications/Databases
-Requires:         %{name}-libs%{?_isa} = %{sameevr}
+%{?with_clibrary:Requires:         %{name}-libs%{?_isa} = %{sameevr}}
 Requires:         openssl-devel%{?_isa}
 %{?with_conflicts:Conflicts:        mariadb-devel}
 


More information about the scm-commits mailing list