summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-16 10:45:01 +0100
committerRemi Collet <remi@remirepo.net>2018-02-16 10:45:01 +0100
commit581ab82e6c20e7e97d2cd00b74a82b6f928eb6d8 (patch)
tree501ec3de0d62e96b99fa35c3948afbe844d0a79c
parentbfa1f473867092b9e8d12ffdac26d2c9a7df101d (diff)
improve devel deps
-rw-r--r--php.spec18
1 files changed, 15 insertions, 3 deletions
diff --git a/php.spec b/php.spec
index daf3d7e..fe6736f 100644
--- a/php.spec
+++ b/php.spec
@@ -213,7 +213,13 @@ BuildRequires: pcre-devel >= 8.20
%else
Provides: Provides: bundled(pcre) = 8.38
%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
@@ -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: %{?dtsprefix}gcc
+Requires: %{?dtsprefix}gcc-c++
+Requires: libtool
%if %{with_libpcre}
Requires: pcre-devel%{?_isa} >= 8.20
%endif
@@ -1664,7 +1676,7 @@ fi
%if 0%{?fedora} < 28 && 0%{?rhel} < 8
-%post embedded -p /sbin/ldconfig
+%post embedded -p /sbin/ldconfig
%postun embedded -p /sbin/ldconfig
%endif