From: Marcin Krol Date: Sun, 25 Mar 2018 17:57:47 +0000 (+0000) Subject: - install proper CLI binary X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=176f2b4f72e9bbbcbdfc72eccf284b7886511850;p=packages%2Fphp.git - install proper CLI binary --- diff --git a/php.spec b/php.spec index 9cfd68f..70b7428 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.0.28 -Release: 1 +Release: 2 Epoch: 4 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -2582,6 +2582,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