]> git.pld-linux.org Git - packages/php-pecl-redis.git/commitdiff
fix self-test auto/th/php-redis-2.2.5-4
authorElan Ruusamäe <glen@delfi.ee>
Wed, 11 Jun 2014 07:18:44 +0000 (10:18 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 11 Jun 2014 07:18:44 +0000 (10:18 +0300)
php-redis.spec

index 56da7936109639744f777d919287aa352b363c7c..c06143fd9b8e00629911ddb3701b46f014f21fa6 100644 (file)
@@ -9,7 +9,7 @@
 Summary:       %{modname} A PHP extension for Redis
 Name:          %{php_name}-%{modname}
 Version:       2.2.5
-Release:       3
+Release:       4
 License:       PHP 3.01
 Group:         Development/Languages/PHP
 Source0:       https://github.com/nicolasff/phpredis/tarball/%{version}/%{modname}-%{version}.tar.gz
@@ -18,6 +18,7 @@ Source1:      https://github.com/ukko/phpredis-phpdoc/tarball/master/%{modname}-phpdo
 # Source1-md5: 9667e1b2976826915044e3a642847625
 URL:           https://github.com/nicolasff/phpredis
 BuildRequires: %{php_name}-devel >= 4:5.0.4
+%{?with_tests:BuildRequires:   %{php_name}-pcre}
 %{?with_tests:BuildRequires:   %{php_name}-session}
 %{?with_tests:BuildRequires:   %{php_name}-simplexml}
 %{?with_tests:BuildRequires:   /usr/bin/php}
@@ -48,8 +49,9 @@ phpize
 # simple module load test
 %{__php} -n \
        -dextension_dir=modules \
-       -dextension=%{php_extensiondir}/simplexml.so \
+       -dextension=%{php_extensiondir}/pcre.so \
        -dextension=%{php_extensiondir}/spl.so \
+       -dextension=%{php_extensiondir}/simplexml.so \
        -dextension=%{php_extensiondir}/session.so \
        -dextension=%{modname}.so \
        -m > modules.log
This page took 0.18271 seconds and 4 git commands to generate.