From: Marcin Krol Date: Sun, 25 Mar 2018 17:57:19 +0000 (+0000) Subject: - install proper CLI binary X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=dd73041c9e8833655519e460a9c2e05e7cb77180;p=packages%2Fphp.git - install proper CLI binary --- diff --git a/php.spec b/php.spec index 6ae79f2..8427b14 100644 --- a/php.spec +++ b/php.spec @@ -143,7 +143,7 @@ Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирова Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} Version: 7.1.15 -Release: 1 +Release: 2 Epoch: 4 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -2584,6 +2584,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