summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-16 10:39:56 +0100
committerRemi Collet <remi@remirepo.net>2018-02-16 10:39:56 +0100
commite3c0b2f28c56e9b12e36ccc9d7477d72f8472999 (patch)
treeae8ce18f34a49ef87cd005b3e1942ddaa2c8c6c0
parentf3aa022613d818cb3b8e8a7f99f18e9517f84d74 (diff)
improve devel deps
-rw-r--r--php72.spec16
1 files changed, 14 insertions, 2 deletions
diff --git a/php72.spec b/php72.spec
index 56abb9e..dcd3c17 100644
--- a/php72.spec
+++ b/php72.spec
@@ -204,7 +204,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
@@ -407,7 +413,13 @@ package and the php-cli package.
%package devel
Group: Development/Libraries
Summary: Files needed for building PHP extensions
-Requires: php-cli%{?_isa} = %{version}-%{release}, autoconf, automake
+Requires: 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}
%endif