[packages/php-pecl-solr] requires pcre ext; covered by tests

glen glen at pld-linux.org
Thu Nov 9 22:43:21 CET 2017


commit eb3bdc6bc2b8414ed4ace22b84b8a0e361a6d79a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Nov 9 23:42:59 2017 +0200

    requires pcre ext; covered by tests

 php-pecl-solr.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-solr.spec b/php-pecl-solr.spec
index 8ea4188..52e2662 100644
--- a/php-pecl-solr.spec
+++ b/php-pecl-solr.spec
@@ -25,11 +25,13 @@ BuildRequires:	rpmbuild(macros) >= 1.666
 %if %{with tests}
 BuildRequires:	%{php_name}-curl
 BuildRequires:	%{php_name}-json
+BuildRequires:	%{php_name}-pcre
 BuildRequires:	%{php_name}-xml
 %endif
 %{?requires_php_extension}
 Requires:	%{php_name}-cli
 Requires:	%{php_name}-json
+Requires:	%{php_name}-pcre
 Requires:	%{php_name}-xml
 Provides:	php(solr) = %{version}
 Obsoletes:	php-pecl-solr < 1.0.2-6
@@ -86,7 +88,7 @@ cat <<'EOF' > run-tests.sh
 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
 exec %{__make} test \
 	PHP_EXECUTABLE=%{__php} \
-	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="json" \
+	PHP_TEST_SHARED_SYSTEM_EXTENSIONS="json pcre" \
 	RUN_TESTS_SETTINGS="-q $*"
 EOF
 chmod +x run-tests.sh
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-solr.git/commitdiff/eb3bdc6bc2b8414ed4ace22b84b8a0e361a6d79a



More information about the pld-cvs-commit mailing list