[packages/php-pecl-xhprof] provide php(xhprof) for virtual deps

glen glen at pld-linux.org
Mon Oct 7 13:43:45 CEST 2013


commit ad8f59fb3fd6cbc1a40490c24e97d3f03e3cfcc2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Oct 7 14:43:31 2013 +0300

    provide php(xhprof) for virtual deps

 php-pecl-xhprof.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/php-pecl-xhprof.spec b/php-pecl-xhprof.spec
index 4ee8187..4c4af9c 100644
--- a/php-pecl-xhprof.spec
+++ b/php-pecl-xhprof.spec
@@ -3,7 +3,7 @@
 Summary:	PHP extension for XHProf, a Hierarchical Profiler
 Name:		%{php_name}-pecl-xhprof
 Version:	0.9.3
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -14,6 +14,7 @@ URL:		http://pecl.php.net/package/xhprof
 BuildRequires:	%{php_name}-devel >= 4:5.2.0
 BuildRequires:	rpmbuild(macros) >= 1.666
 %{?requires_php_extension}
+Provides:	php(xhprof) = %{version}
 # https://bugs.php.net/61262
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,8 +37,8 @@ package.
 Summary:	A Hierarchical Profiler for PHP - Web interface
 Group:		Development/Tools
 Requires:	%{_bindir}/dot
-Requires:	php(core) >= 5.2.0
 Requires:	%{name} = %{version}-%{release}
+Requires:	php(core) >= 5.2.0
 %if "%{_rpmversion}" >= "5"
 BuildArch:	noarch
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-xhprof.git/commitdiff/ad8f59fb3fd6cbc1a40490c24e97d3f03e3cfcc2



More information about the pld-cvs-commit mailing list