From 5260c34043b795e1c88f09464d84c1ca1eabf47e Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 25 Mar 2018 17:56:39 +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 b243fcd..9f607de 100644 --- a/php.spec +++ b/php.spec @@ -147,7 +147,7 @@ Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирова Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} Version: 7.2.3 -Release: 1 +Release: 2 Epoch: 4 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -2587,6 +2587,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