From c68d614e2e0414283565159487dfaf7ba6abc833 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Apr 2014 16:17:39 +0200 Subject: php-pecl-xdebug: cleanup --- php-pecl-xdebug.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec index 7c24b6a..7bb074d 100644 --- a/php-pecl-xdebug.spec +++ b/php-pecl-xdebug.spec @@ -170,7 +170,11 @@ install -Dpm 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml install -d %{buildroot}%{php_inidir} cat << 'EOF' | tee %{buildroot}%{php_inidir}/%{ini_name} ; Enable xdebug extension module +%if "%{php_version}" > "5.5" +zend_extension=%{pecl_name}.so +%else zend_extension=%{php_extdir}/%{pecl_name}.so +%endif ; see http://xdebug.org/docs/all_settings EOF @@ -244,6 +248,7 @@ rm -rf %{buildroot} %changelog * Wed Apr 9 2014 Remi Collet - 2.2.4-3 - add numerical prefix to extension configuration file +- drop uneeded full extension path * Wed Mar 19 2014 Remi Collet - 2.2.4-2 - allow SCL build -- cgit