From: Elan Ruusamäe Date: Thu, 9 Nov 2017 21:14:06 +0000 (+0200) Subject: ext-pcre for tests on php72 X-Git-Tag: auto/th/php-pecl-apcu_bc-1.0.3-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=2ee0403bfb209882be5f0d5fc88affe836f042fd;p=packages%2Fphp-pecl-apcu_bc.git ext-pcre for tests on php72 --- diff --git a/php-pecl-apcu_bc.spec b/php-pecl-apcu_bc.spec index 68bc16c..dfbc976 100644 --- a/php-pecl-apcu_bc.spec +++ b/php-pecl-apcu_bc.spec @@ -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