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