From 082839bcc2cd8b1f1b375d14845f09b5b00500b1 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 25 Mar 2018 17:58:14 +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 157a0a2..9a0fb88 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.34 -Release: 1 +Release: 2 Epoch: 4 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -2669,6 +2669,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.46.0