[mariadb] Require -libs only when it is build

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


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

    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}


More information about the scm-commits mailing list