Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 7.2.8
-Release: 2
+Version: 7.2.15
+Release: 1
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
License: PHP 3.01 and Zend and BSD
Group: Libraries
Source0: http://php.net/distributions/%{orgname}-%{version}.tar.xz
-# Source0-md5: ebf0d05fe3bf5b72f5d09c1174934b91
+# Source0-md5: 2271549c2dadb4ef8cfe59e838bb0281
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Patch70: mysqlnd-ssl.patch
Patch71: libdb-info.patch
Patch72: phar-hash-shared.patch
-Patch73: revert-mysql-8-auth-fix.patch
URL: http://php.net/
%{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
%{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
%define jsonver 1.6.0
%define pharver 2.0.2
%define sqlite3ver %{version}
-%define zipver 1.15.3
+%define zipver 1.15.4
%define phpdbgver 0.5.0
%define sodiumver %{version}
%patch70 -p1
%patch71 -p1
%patch72 -p1 -b .phar-shared
-%patch73 -p1
%{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
%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}