From 29954ff60e7fdbde606a9f63589b83770f4a98b1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Oct 2023 08:12:55 +0200 Subject: [PATCH] fix check --- php-pecl-xdebug3.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/php-pecl-xdebug3.spec b/php-pecl-xdebug3.spec index 35bb6f2..e1cbcf1 100644 --- a/php-pecl-xdebug3.spec +++ b/php-pecl-xdebug3.spec @@ -180,6 +180,11 @@ done : check if provided config file is usable %{__php} \ --no-php-ini \ + -d extension_dir=%{buildroot}%{php_extdir} \ + -c %{buildroot}%{php_inidir}/%{ini_name} -v +%{__php} \ + --no-php-ini \ + -d extension_dir=%{buildroot}%{php_extdir} \ -c %{buildroot}%{php_inidir}/%{ini_name} -v 2>err.log \ | grep 'with Xdebug v%{upstream_version}%{?upstream_prever}' if [ -s err.log ]; then