]> git.pld-linux.org Git - packages/php-pecl-redis.git/commitdiff
always run module load test
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Dec 2018 13:52:03 +0000 (15:52 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Dec 2018 13:52:03 +0000 (15:52 +0200)
php-redis.spec

index c8b240309bfb25b19644ef15ccaea00cc243c008..ff48bc78a9822dfc3682d7ab489c4e8d6e97e8e1 100644 (file)
@@ -24,11 +24,11 @@ Source1:    https://github.com/ukko/phpredis-phpdoc/archive/9ec1795bcd45ec83a19b46c
 # Source1-md5: eaba2e5fad040e2f4526374c073ae5f7
 URL:           https://github.com/phpredis/phpredis
 BuildRequires: %{php_name}-devel >= 4:5.0.4
-%if %{with tests}
 BuildRequires: %{php_name}-cli
 BuildRequires: %{php_name}-pcre
 BuildRequires: %{php_name}-session
 BuildRequires: %{php_name}-simplexml
+%if %{with tests}
 %endif
 BuildRequires: rpmbuild(macros) >= 1.519
 %{?requires_php_extension}
@@ -63,7 +63,6 @@ phpize
 %configure
 %{__make}
 
-%if %{with tests}
 # simple module load test
 %{__php} -n \
        -dextension_dir=modules \
@@ -74,7 +73,6 @@ phpize
        -dextension=%{modname}.so \
        -m > modules.log
 grep %{modname} modules.log
-%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.196104 seconds and 4 git commands to generate.