[packages/php-pecl-xdebug] - allow building for php54 (-D php_suffix 54)

glen glen at pld-linux.org
Wed Oct 17 17:11:31 CEST 2012


commit d412cdf044a83a53a58dffa845d355c178ab63ae
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 17 18:11:28 2012 +0300

    - allow building for php54 (-D php_suffix 54)

 php-pecl-xdebug.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec
index 80e6ee1..19621e0 100644
--- a/php-pecl-xdebug.spec
+++ b/php-pecl-xdebug.spec
@@ -1,3 +1,4 @@
+%define		php_name	php%{?php_suffix}
 %define		modname	xdebug
 %define		status	stable
 Summary:	%{modname} - provides functions for functions traces and profiling
@@ -11,9 +12,9 @@ Source0:	http://www.xdebug.org/files/xdebug-%{version}.tgz
 # Source0-md5:	27d8ad8224ffab04d12eecb5997a4f5d
 Source1:	%{name}.ini
 URL:		http://www.xdebug.org/
+BuildRequires:	%{php_name}-devel >= 4:5.2.17-8
 BuildRequires:	libedit-devel
 BuildRequires:	libtool
-BuildRequires:	php-devel >= 4:5.2.17-8
 BuildRequires:	rpmbuild(macros) >= 1.579
 %{?requires_zend_extension}
 Conflicts:	ZendOptimizer
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-xdebug.git/commitdiff/d412cdf044a83a53a58dffa845d355c178ab63ae



More information about the pld-cvs-commit mailing list