From 6c2379231da3dd809c653b915d535e35360ecfe1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 16 May 2014 15:35:48 +0300 Subject: [PATCH] - obsolete old php name - release 3 (by relup.sh) --- 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 84250c4..bcee7aa 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.4 -Release: 2 +Release: 3 License: Apache v2.0 Group: Development/Languages/PHP Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz @@ -15,6 +15,7 @@ BuildRequires: %{php_name}-devel >= 4:5.2.0 BuildRequires: rpmbuild(macros) >= 1.666 %{?requires_php_extension} Provides: php(xhprof) = %{version} +Obsoletes: php-pecl-xhprof < 0.9.4-2 # https://bugs.php.net/61262 ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -37,8 +38,8 @@ package. Summary: A Hierarchical Profiler for PHP - Web interface Group: Development/Tools Requires: %{_bindir}/dot -Requires: %{name} = %{version}-%{release} Requires: php(core) >= 5.2.0 +Requires: php(xhprof) = %{version} %if "%{_rpmversion}" >= "5" BuildArch: noarch %endif -- 2.44.0