summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-16 10:44:13 +0100
committerRemi Collet <remi@remirepo.net>2018-02-16 10:44:13 +0100
commit3498701400a5348ba956c62418aae424eabf7691 (patch)
tree666a21b87506682a31f20d453a2fe3e958412645
parent5d0715513be660b72c3cd756bcfd985f4a452f31 (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 5c41e2b..f43740e 100644
--- a/php.spec
+++ b/php.spec
@@ -211,7 +211,13 @@ BuildRequires: zlib-devel, smtpdaemon, libedit-devel
%if %{with_libpcre}
BuildRequires: pcre-devel >= 8.20
%endif
-BuildRequires: bzip2, perl, libtool >= 1.4.3, %{?dtsprefix}gcc-c++
+BuildRequires: bzip2
+BuildRequires: perl
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: %{?dtsprefix}gcc
+BuildRequires: %{?dtsprefix}gcc-c++
+BuildRequires: libtool
BuildRequires: libtool-ltdl-devel
%if %{with_dtrace}
BuildRequires: %{?dtsprefix}systemtap-sdt-devel
@@ -382,7 +388,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: %{?dtsprefix}gcc
+Requires: %{?dtsprefix}gcc-c++
+Requires: libtool
%if %{with_libpcre}
Requires: pcre-devel%{?_isa} >= 8.20
%endif