From 203a5d87754d5da4dc93cf165a422e4a7676d607 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 29 Mar 2019 15:19:30 +0100 Subject: ensure php-devel pulls needed lilbraries from php-config output --- php70.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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} -- cgit