From ae5ba87f56e895a9a646b596244c8e059eccd139 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 26 Sep 2020 16:13:33 +0200 Subject: [PATCH] - fix builddir --- php.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/php.spec b/php.spec index c09e6c9..0dffa8a 100644 --- a/php.spec +++ b/php.spec @@ -126,7 +126,7 @@ Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирова Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} Version: 7.4.10 -Release: 1 +Release: 2 Epoch: 4 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -2333,7 +2333,7 @@ install -d \ cp -pf php_config.h.cli main/php_config.h cp -pf Makefile.cli Makefile %{__make} install \ - phpbuilddir=%{_libdir}/%{name}/build \ + phpbuilddir=%{_libdir}/php/php%{php_suffix}/build \ INSTALL_ROOT=$RPM_BUILD_ROOT # touch for ghost @@ -2762,7 +2762,7 @@ fi %attr(755,root,root) %{_libdir}/libphp_common%{php_suffix}.so %{_libdir}/libphp_common%{php_suffix}.la %{_includedir}/php/php%{php_suffix} -%{_libdir}/%{name}/build +%{_libdir}/php/php%{php_suffix}/build %{_mandir}/man1/php-config%{php_suffix}.1* %ghost %{_mandir}/man1/php-config.1* %{_mandir}/man1/phpize%{php_suffix}.1* -- 2.44.0