From: Marcin Krol Date: Sat, 26 Sep 2020 14:13:33 +0000 (+0200) Subject: - fix builddir X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=ae5ba87f56e895a9a646b596244c8e059eccd139;p=packages%2Fphp.git - fix builddir --- 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*