From e15e235384526034022a14bcd739e004d7860efa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 16 May 2014 15:36:11 +0300 Subject: [PATCH] - obsolete old php name - release 2 (by relup.sh) --- php-redis.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-redis.spec b/php-redis.spec index 646ad16..41a4286 100644 --- a/php-redis.spec +++ b/php-redis.spec @@ -9,7 +9,7 @@ Summary: %{modname} A PHP extension for Redis Name: %{php_name}-%{modname} Version: 2.2.5 -Release: 1 +Release: 2 License: PHP 3.01 Group: Development/Languages/PHP Source0: https://github.com/nicolasff/phpredis/tarball/%{version}/%{modname}-%{version}.tar.gz @@ -17,13 +17,14 @@ Source0: https://github.com/nicolasff/phpredis/tarball/%{version}/%{modname}-%{v Source1: https://github.com/ukko/phpredis-phpdoc/tarball/master/%{modname}-phpdoc.tgz # Source1-md5: b7cce5ee29c6597e0fdd3557397e1b2a URL: https://github.com/nicolasff/phpredis -%{?with_tests:BuildRequires: /usr/bin/php} BuildRequires: %{php_name}-devel >= 4:5.0.4 %{?with_tests:BuildRequires: %{php_name}-session} %{?with_tests:BuildRequires: %{php_name}-simplexml} +%{?with_tests:BuildRequires: /usr/bin/php} BuildRequires: rpmbuild(macros) >= 1.519 %{?requires_php_extension} Requires: %{php_name}-session +Obsoletes: php-redis < 2.2.5-1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -- 2.44.0