rpms/php-pecl-xdebug/FC-5 php-pecl-xdebug.spec,1.3,1.4
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Tue Jan 30 01:06:06 UTC 2007
Author: xulchris
Update of /cvs/extras/rpms/php-pecl-xdebug/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13113/FC-5
Modified Files:
php-pecl-xdebug.spec
Log Message:
compile with opt flags
Index: php-pecl-xdebug.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-xdebug/FC-5/php-pecl-xdebug.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- php-pecl-xdebug.spec 15 Jan 2007 23:46:51 -0000 1.3
+++ php-pecl-xdebug.spec 30 Jan 2007 01:05:36 -0000 1.4
@@ -4,10 +4,10 @@
Name: php-pecl-xdebug
Version: 2.0.0
-Release: 0.3.%{beta}%{?dist}
+Release: 0.4.%{beta}%{?dist}
Summary: PECL package for debugging PHP scripts
-License: PHP License
+License: BSD
Group: Development/Languages
URL: http://pecl.php.net/package/xdebug
Source0: http://pecl.php.net/get/xdebug-%{version}%{beta}.tgz
@@ -29,21 +29,23 @@
%build
phpize
%configure --enable-xdebug
-make
+CFLAGS="$RPM_OPT_FLAGS" make
%install
-rm -rf %{buildroot}
-make install INSTALL_ROOT=%{buildroot}
-mkdir -p %{buildroot}%{_sysconfdir}/php.d
-cat > %{buildroot}%{_sysconfdir}/php.d/xdebug.ini << 'EOF'
+rm -rf $RPM_BUILD_ROOT
+make install INSTALL_ROOT=$RPM_BUILD_ROOT
+
+# install config file
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/xdebug.ini << 'EOF'
; Enable xdebug extension module
zend_extension=%{php_extdir}/xdebug.so
EOF
%clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
%files
@@ -54,6 +56,11 @@
%changelog
+* Mon Jan 29 2007 Christopher Stone <chris.stone at gmail.com> 2.0.0-0.4.RC2
+- Compile with $RPM_OPT_FLAGS
+- Use $RPM_BUILD_ROOT instead of %%{buildroot}
+- Fix license tag
+
* Mon Jan 15 2007 Christopher Stone <chris.stone at gmail.com> 2.0.0-0.3.RC2
- Upstream sync
More information about the scm-commits
mailing list