]> git.pld-linux.org Git - packages/php-pecl-apcu_bc.git/commitdiff
ext-pcre for tests on php72 master auto/th/php-pecl-apcu_bc-1.0.3-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 9 Nov 2017 21:14:06 +0000 (23:14 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 9 Nov 2017 21:14:06 +0000 (23:14 +0200)
php-pecl-apcu_bc.spec

index 68bc16c30966a4f7b86efa819c411737b329059a..dfbc976a118e75efb7157eb24f770ea243c8fa3b 100644 (file)
@@ -18,6 +18,7 @@ BuildRequires:        %{php_name}-devel >= 4:7.0.0
 BuildRequires: %{php_name}-pecl-apcu-devel
 BuildRequires: rpmbuild(macros) >= 1.666
 %if %{with tests}
+BuildRequires: %{php_name}-pcre
 BuildRequires: %{php_name}-pecl-apcu
 %endif
 %{?requires_php_extension}
@@ -38,7 +39,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="apcu" \
+       PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre apcu" \
        RUN_TESTS_SETTINGS="-q $*"
 EOF
 chmod +x run-tests.sh
This page took 0.084834 seconds and 4 git commands to generate.