commit 5b15e38b0e1c9cd42bf9076bc3417975ce34a5d9
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Feb 10 17:31:51 2015 +0200

    correct test BR

 php-pecl-jsonc.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-jsonc.spec b/php-pecl-jsonc.spec
index 8cd19cd..c1afaf3 100644
--- a/php-pecl-jsonc.spec
+++ b/php-pecl-jsonc.spec
@@ -14,9 +14,12 @@ Group:               Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 65891642a4a0214bbe77e1b208cdd607
 URL:           https://github.com/remicollet/pecl-json-c
-%{?with_tests:BuildRequires:    %{php_name}-cli}
 BuildRequires: %{php_name}-devel
 BuildRequires: rpmbuild(macros) >= 1.666
+%if %{with tests}
+BuildRequires: %{php_name}-cli
+BuildRequires: %{php_name}-pcre
+%endif
 Provides:      php(json) = %{version}
 Obsoletes:     php-pecl-json < %{version}
 %{?requires_php_extension}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-jsonc.git/commitdiff/5b15e38b0e1c9cd42bf9076bc3417975ce34a5d9

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to