[packages/php-redis] - rel 2; just BR cli
arekm
arekm at pld-linux.org
Sat Nov 4 13:50:32 CET 2017
commit c61b27e4662b8925702817469154947b26722145
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Nov 4 13:50:26 2017 +0100
- rel 2; just BR cli
php-redis.spec | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/php-redis.spec b/php-redis.spec
index 29819ef..83311a7 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: 3.1.4
-Release: 1
+Release: 2
License: PHP 3.01
Group: Development/Languages/PHP
Source0: https://github.com/nicolasff/phpredis/tarball/%{version}/%{modname}-%{version}.tar.gz
@@ -18,10 +18,12 @@ Source1: https://github.com/ukko/phpredis-phpdoc/tarball/master/%{modname}-phpdo
# Source1-md5: eb4163a1c5eaaa41beccfba9be0a9878
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: %{__php}}
+%if %{with tests}
+BuildRequires: %{php_name}-pcre
+BuildRequires: %{php_name}-session
+BuildRequires: %{php_name}-simplexml
+BuildRequires: %{php_name}-cli
+%endif
BuildRequires: rpmbuild(macros) >= 1.519
%{?requires_php_extension}
Requires: %{php_name}-session
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-redis.git/commitdiff/c61b27e4662b8925702817469154947b26722145
More information about the pld-cvs-commit
mailing list