summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-03-29 15:19:30 +0100
committerRemi Collet <remi@remirepo.net>2019-03-29 15:19:30 +0100
commit203a5d87754d5da4dc93cf165a422e4a7676d607 (patch)
treec44bb56624a290436b9d8e647074f82fba7b6ea3
parent78460d5d55b62c2a2ed3d46d7027d8496e27e249 (diff)
ensure php-devel pulls needed lilbraries from php-config output
-rw-r--r--php70.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php70.spec b/php70.spec
index c7ad9ca..bd9b773 100644
--- a/php70.spec
+++ b/php70.spec
@@ -414,9 +414,15 @@ package and the php-cli package.
Group: Development/Libraries
Summary: Files needed for building PHP extensions
Requires: php-cli%{?_isa} = %{version}-%{release}, autoconf, automake
+# see "php-config --libs"
+Requires: krb5-devel%{?_isa}
+Requires: libedit-devel%{?_isa}
+Requires: libxml2-devel%{?_isa}
+Requires: openssl-devel%{?_isa}
%if %{with_libpcre}
Requires: pcre-devel%{?_isa}
%endif
+Requires: zlib-devel%{?_isa}
Obsoletes: php-pecl-pdo-devel
Obsoletes: php-pecl-json-devel < %{jsonver}
Obsoletes: php-pecl-jsonc-devel < %{jsonver}