[packages/php-redis] provide versioned php extension dep

glen glen at pld-linux.org
Fri May 23 09:20:29 CEST 2014


commit 54d79b38ce2abdacac875f4ef60d73f3d1adccd9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri May 23 10:20:08 2014 +0300

    provide versioned php extension dep

 php-redis.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-redis.spec b/php-redis.spec
index 41a4286..e04f439 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:	2
+Release:	3
 License:	PHP 3.01
 Group:		Development/Languages/PHP
 Source0:	https://github.com/nicolasff/phpredis/tarball/%{version}/%{modname}-%{version}.tar.gz
@@ -24,6 +24,7 @@ BuildRequires:	%{php_name}-devel >= 4:5.0.4
 BuildRequires:	rpmbuild(macros) >= 1.519
 %{?requires_php_extension}
 Requires:	%{php_name}-session
+Provides:	php(%{modname}) = %{version}
 Obsoletes:	php-redis < 2.2.5-1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-redis.git/commitdiff/54d79b38ce2abdacac875f4ef60d73f3d1adccd9



More information about the pld-cvs-commit mailing list