Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 7.1.16
+Version: 7.1.23
Release: 1
Epoch: 4
# All files licensed under PHP version 3.01, except
License: PHP 3.01 and Zend and BSD
Group: Libraries
Source0: http://php.net/distributions/%{orgname}-%{version}.tar.xz
-# Source0-md5: 537bf278c8f4d3afa163bab90af868a4
+# Source0-md5: 5e5baa60cfd85dd70bed9e740dd6dbc6
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Source4: %{orgname}-apache.ini
%postun cli
if [ $1 -eq 0 ]; then
- update-alternatives --remove php %{_bindir}/php || :
+ update-alternatives --remove php %{_bindir}/php%{php_suffix} || :
fi
%post common -p /sbin/ldconfig
%postun devel
if [ $1 -eq 0 ]; then
- update-alternatives --remove phpize %{_bindir}/phpize || :
- update-alternatives --remove php-config %{_bindir}/php-config || :
+ update-alternatives --remove phpize %{_bindir}/phpize%{php_suffix} || :
+ update-alternatives --remove php-config %{_bindir}/php-config%{php_suffix} || :
fi
%pre fpm
if [ "$1" = "0" ]; then
%service %{name}-fpm stop
/sbin/chkconfig --del %{name}-fpm
- update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
+ update-alternatives --remove php-fpm %{_sbindir}/php%{php_suffix}-fpm || :
fi
%postun fpm
%postun phar
%ext_postun
if [ $1 -eq 0 ]; then
- update-alternatives --remove phar %{_bindir}/phar || :
+ update-alternatives --remove phar %{_bindir}/phar%{php_suffix}.phar || :
fi
%if %{with apache2}