summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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