[projects/template-specs] pecl: run-tests needs pcre ext
glen
glen at pld-linux.org
Sun Nov 23 03:53:10 CET 2014
commit 930a1dff9dc327a567d8fe0b05c63fdc806250b1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Nov 23 04:51:29 2014 +0200
pecl: run-tests needs pcre ext
php-pecl.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/php-pecl.spec b/php-pecl.spec
index 04bf0d0..125ca2e 100644
--- a/php-pecl.spec
+++ b/php-pecl.spec
@@ -17,6 +17,10 @@ URL: http://pecl.php.net/package/MODULE_NAME/
%{?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
%{?requires_php_extension}
Provides: php(MODULE_NAME) = %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/930a1dff9dc327a567d8fe0b05c63fdc806250b1
More information about the pld-cvs-commit
mailing list