update libtool.m4

This commit is contained in:
Aleksandr Proklov 2021-11-18 11:49:00 +09:00
parent a3cd695872
commit 3aef93b959

View file

@ -27,7 +27,7 @@
Summary: The PHP7 scripting language Summary: The PHP7 scripting language
Name: php Name: php
Version: 7.4.24 Version: 7.4.24
Release: 1 Release: 2
Source0: http://ch1.php.net/distributions/php-%{version}.tar.xz Source0: http://ch1.php.net/distributions/php-%{version}.tar.xz
Source1: macros.php Source1: macros.php
Group: Development/PHP Group: Development/PHP
@ -1764,6 +1764,11 @@ sed -e "s/@PHP_APIVER@/%{apiver}/" \
< %{SOURCE1} > macros.php < %{SOURCE1} > macros.php
%install_macro %{name} 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} %if %{build_test}
# do a make test # do a make test
export NO_INTERACTION=1 export NO_INTERACTION=1