From 5fb5725d4efb024c20de378d532a2a008ce24a2a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 Feb 2018 10:41:44 +0100 Subject: improve devel deps --- php.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/php.spec b/php.spec index 4aca415..cfc176e 100644 --- a/php.spec +++ b/php.spec @@ -224,7 +224,13 @@ BuildRequires: zlib-devel, smtpdaemon, libedit-devel %if %{with_libpcre} BuildRequires: pcre-devel >= 8.20 %endif -BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++ +BuildRequires: bzip2 +BuildRequires: perl +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libtool BuildRequires: libtool-ltdl-devel %if %{with_dtrace} BuildRequires: systemtap-sdt-devel @@ -404,7 +410,13 @@ the %{?scl_prefix}php package and the %{?scl_prefix}php-cli package. %package devel Group: Development/Libraries Summary: Files needed for building PHP extensions -Requires: %{?scl_prefix}php-cli%{?_isa} = %{version}-%{release}, autoconf, automake +Requires: %{?scl_prefix}php-cli%{?_isa} = %{version}-%{release} +# always needed to build extension +Requires: autoconf +Requires: automake +Requires: gcc +Requires: gcc-c++ +Requires: libtool %if %{with_libpcre} Requires: pcre-devel%{?_isa} >= 8.20 %endif -- cgit