diff --git a/php7.spec b/php7.spec index 5e83c85..9daf768 100644 --- a/php7.spec +++ b/php7.spec @@ -27,7 +27,7 @@ Summary: The PHP7 scripting language Name: php Version: 7.4.24 -Release: 1 +Release: 2 Source0: http://ch1.php.net/distributions/php-%{version}.tar.xz Source1: macros.php Group: Development/PHP @@ -1764,6 +1764,11 @@ sed -e "s/@PHP_APIVER@/%{apiver}/" \ < %{SOURCE1} > macros.php %install_macro %{name} macros.php +# update libtool.m4 file +cp %{_datadir}/aclocal/libtool.m4 %{buildroot}%{_libdir}/php/build +cat %{_datadir}/aclocal/ltoptions.m4 %{_datadir}/ltversion.m4 \ + %{_datadir}/aclocal/ltsugar.m4 %{_datadir}/aclocal/lt~obsolete.m4 >> %{buildroot}%{_libdir}/php/build/libtool.m4 + %if %{build_test} # do a make test export NO_INTERACTION=1