]> git.pld-linux.org Git - packages/php-pecl-redis.git/blobdiff - php-redis.spec
up to 2.2.5
[packages/php-pecl-redis.git] / php-redis.spec
index d2009ee1adf40710a0943c162c16a19a85fad4aa..646ad160a7fd28b02cb179002c6190d1b5e27da2 100644 (file)
@@ -4,25 +4,26 @@
 # Conditional build:
 %bcond_without tests           # build without tests
 
+%define                php_name        php%{?php_suffix}
 %define                modname redis
 Summary:       %{modname} A PHP extension for Redis
-Name:          php-%{modname}
-Version:       2.1.3
-Release:       3
+Name:          %{php_name}-%{modname}
+Version:       2.2.5
+Release:       1
 License:       PHP 3.01
 Group:         Development/Languages/PHP
-Source0:       https://github.com/nicolasff/phpredis/tarball/%{version}#/%{name}-%{version}.tgz
-# Source0-md5: eb2bee7e42f7a32a38c2a45377f21086
-Source1:       https://github.com/ukko/phpredis-phpdoc/tarball/master/%{name}-phpdoc.tgz
-# Source1-md5: 110fec82bf7699e7be195a2ec911f3c8
+Source0:       https://github.com/nicolasff/phpredis/tarball/%{version}/%{modname}-%{version}.tar.gz
+# Source0-md5: 0e82aed77f2c23a9072b277ecdef6dba
+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-devel >= 4:5.0.4
-%{?with_tests:BuildRequires:   php-session}
-%{?with_tests:BuildRequires:   php-simplexml}
+BuildRequires: %{php_name}-devel >= 4:5.0.4
+%{?with_tests:BuildRequires:   %{php_name}-session}
+%{?with_tests:BuildRequires:   %{php_name}-simplexml}
 BuildRequires: rpmbuild(macros) >= 1.519
 %{?requires_php_extension}
-Requires:      php-session
+Requires:      %{php_name}-session
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
This page took 0.321123 seconds and 4 git commands to generate.