summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-23 16:17:39 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-23 16:17:39 +0200
commitc68d614e2e0414283565159487dfaf7ba6abc833 (patch)
tree3fe2221eacd8a79eeaded3201dba2f14a7e89c83
parentdb4a38e6e71b8adfcc97910beb5d8c57a05ed7e1 (diff)
php-pecl-xdebug: cleanup
-rw-r--r--php-pecl-xdebug.spec5
1 files changed, 5 insertions, 0 deletions
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 <remi@fedoraproject.org> - 2.2.4-3
- add numerical prefix to extension configuration file
+- drop uneeded full extension path
* Wed Mar 19 2014 Remi Collet <rcollet@redhat.com> - 2.2.4-2
- allow SCL build