X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=php.spec;h=a688e15a4e8b8dc122be8dda11f64ed05d17446d;hb=d290046cba17771dccd3b8dfbf6169d4eae30d8f;hp=b5e435e3ab320c6167509fc98cfdda8a81b50a35;hpb=2073044eaa55fe04e91a623237eaceddc75dc58b;p=packages%2Fphp.git diff --git a/php.spec b/php.spec index b5e435e..a688e15 100644 --- a/php.spec +++ b/php.spec @@ -149,7 +149,7 @@ Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирова Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} Version: 5.6.37 -Release: 1 +Release: 5 Epoch: 4 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -266,7 +266,6 @@ BuildRequires: openssl-devel >= 0.9.7d BuildRequires: pam-devel %{?with_pcre:BuildRequires: pcre-devel >= 8.10} BuildRequires: pkgconfig -%{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2} %{?with_pgsql:BuildRequires: postgresql-devel} BuildRequires: readline-devel %{?with_recode:BuildRequires: recode-devel >= 3.5d-3} @@ -2748,7 +2747,7 @@ update-alternatives \ %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 @@ -2764,8 +2763,8 @@ update-alternatives \ %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 @@ -2780,7 +2779,7 @@ update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{php_s 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 @@ -2946,7 +2945,7 @@ update-alternatives \ %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}