From: Elan Ruusamäe Date: Fri, 16 May 2014 12:35:48 +0000 (+0300) Subject: - obsolete old php name X-Git-Tag: auto/th/php-pecl-xhprof-0.9.4-3 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=6c2379231da3dd809c653b915d535e35360ecfe1;p=packages%2Fphp-pecl-xhprof.git - obsolete old php name - release 3 (by relup.sh) --- 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