[packages/php-redis] always run module load test

glen glen at pld-linux.org
Mon Dec 10 17:02:57 CET 2018


commit a56ffbc5be6ce85e27d437991f92aa60d4418d82
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Dec 10 15:52:03 2018 +0200

    always run module load test

 php-redis.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/php-redis.spec b/php-redis.spec
index c8b2403..ff48bc7 100644
--- a/php-redis.spec
+++ b/php-redis.spec
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-redis.git/commitdiff/24c6c4949d9d0998c7d783d8f5eecc4af4e657f7



More information about the pld-cvs-commit mailing list