X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=php.spec;h=9c569133db6dae76354e17afdd28e8bdadf8ab2b;hb=1051d36561ff1b3400fdf13b1c71ce44fa3dff26;hp=b243fcdfb4291d20d270cee9708dab65d719f95c;hpb=d65fa9e5c624d712964e98251295575d49b84ee1;p=packages%2Fphp.git diff --git a/php.spec b/php.spec index b243fcd..9c56913 100644 --- a/php.spec +++ b/php.spec @@ -146,8 +146,8 @@ Summary(pt_BR.UTF-8): A linguagem de script PHP Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} -Version: 7.2.3 -Release: 1 +Version: 7.2.5 +Release: 2 Epoch: 4 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -155,7 +155,7 @@ Epoch: 4 License: PHP 3.01 and Zend and BSD Group: Libraries Source0: http://php.net/distributions/%{orgname}-%{version}.tar.xz -# Source0-md5: 9e462dd313e0fb79405cd4a56974565e +# Source0-md5: 0f2e2c6d749a4bc3913b50d1f7bb95fa Source1: opcache.ini Source2: %{orgname}-mod_php.conf Source3: %{orgname}-cgi-fcgi.ini @@ -2587,6 +2587,7 @@ cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/php%{php_suffix}/ %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 @@ -2669,6 +2670,9 @@ if [ $1 -eq 0 ]; then 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} \