Author: adamg                        Date: Mon Nov 26 22:21:33 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- complete xdebug.ini

---- Files affected:
SPECS:
   php-pecl-xdebug.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-xdebug.spec
diff -u SPECS/php-pecl-xdebug.spec:1.45 SPECS/php-pecl-xdebug.spec:1.46
--- SPECS/php-pecl-xdebug.spec:1.45     Sun Nov 11 18:44:31 2007
+++ SPECS/php-pecl-xdebug.spec  Mon Nov 26 23:21:28 2007
@@ -12,6 +12,7 @@
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
 # Source0-md5: b994465f9941db4e7ffa4f8b81fa5c3d
+Source1:       %{name}.ini
 URL:           http://pecl.php.net/package/xdebug/
 BuildRequires: libedit-devel
 BuildRequires: libtool
@@ -67,6 +68,8 @@
 %prep
 %setup -q -c
 chmod +x %{_modname}-%{version}/debugclient/configure
+cp %{SOURCE1} %{_modname}.ini
+sed -e 
's#^;zend_extension.*#zend_extension%{?zend_zts:_ts}=%{extensionsdir}/%{_modname}.so#'
 -i %{_modname}.ini
 
 %build
 cd %{_modname}-%{version}
@@ -88,10 +91,7 @@
 
 install %{_modname}-*/debugclient/debugclient 
$RPM_BUILD_ROOT%{_bindir}/%{_modname}-debugclient
 install %{_modname}-*/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
-cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_modname}.ini
-; Enable %{_modname} extension module
-zend_extension%{?zend_zts:_ts}=%{extensionsdir}/%{_modname}.so
-EOF
+install %{_modname}.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -117,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2007-11-26 22:21:28  adamg
+- complete xdebug.ini
+
 Revision 1.45  2007-11-11 17:44:31  adamg
 - updated to 2.0.2
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php-pecl-xdebug.spec?r1=1.45&r2=1.46&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to