diff options
-rw-r--r-- | php.spec | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -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 |