Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 7.2.1
-Release: 1
+Version: 7.2.5
+Release: 2
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: f8682afff613f7e4661c77f122e4dbfd
+# Source0-md5: 0f2e2c6d749a4bc3913b50d1f7bb95fa
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
%define jsonver 1.6.0
%define pharver 2.0.2
%define sqlite3ver %{version}
-%define zipver 1.15.1
+%define zipver 1.15.2
%define phpdbgver 0.5.0
%define sodiumver %{version}
%endif
# CLI
+libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{php_suffix}
# touch for ghost
touch $RPM_BUILD_ROOT%{_bindir}/php
touch $RPM_BUILD_ROOT%{_mandir}/man1/php.1
update-alternatives --remove php %{_bindir}/php || :
fi
+%post common -p /sbin/ldconfig
+%postun common -p /sbin/ldconfig
+
%post devel
update-alternatives \
--install %{_bindir}/phpize phpize %{_bindir}/phpize%{php_suffix} %{php_suffix} \