summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-16 10:43:00 +0100
committerRemi Collet <remi@remirepo.net>2018-02-16 10:43:00 +0100
commit40e4be350a12945741081f839c4778748dd0aade (patch)
treebe680cb1418cd8a8ad292ab1f8de1227bb9d2427
parent0ad444c249abc3da310b398f8302c29165e08f2f (diff)
improve devel deps
-rw-r--r--php.spec16
1 files changed, 14 insertions, 2 deletions
diff --git a/php.spec b/php.spec
index 24ea3e5..b1d1325 100644
--- a/php.spec
+++ b/php.spec
@@ -214,7 +214,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
@@ -389,7 +395,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