From dd73041c9e8833655519e460a9c2e05e7cb77180 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 25 Mar 2018 17:57:19 +0000 Subject: [PATCH] - install proper CLI binary --- php.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.44.0