From ad8f59fb3fd6cbc1a40490c24e97d3f03e3cfcc2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 7 Oct 2013 14:43:31 +0300 Subject: [PATCH] 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 -- 2.44.0