From: Elan Ruusamäe Date: Mon, 7 Oct 2013 11:43:31 +0000 (+0300) Subject: provide php(xhprof) for virtual deps X-Git-Tag: auto/th/php-pecl-xhprof-0.9.3-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp-pecl-xhprof.git;a=commitdiff_plain;h=ad8f59fb3fd6cbc1a40490c24e97d3f03e3cfcc2 provide php(xhprof) for virtual deps --- 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