pcre for i686
authorElan Ruusamäe <glen@delfi.ee>
Wed, 23 Nov 2016 02:06:53 +0000 (04:06 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 23 Nov 2016 02:06:53 +0000 (04:06 +0200)
php-pecl-memcache.spec

index 9d8dcf423ee82dfad0931bc30fe3ee0c93f8f361..34470698fb22e4e380a0107deda6d2020d8e5368 100644 (file)
@@ -30,6 +30,7 @@ BuildRequires:        rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.650
 %if %{with tests}
 BuildRequires: %{php_name}-cli
+BuildRequires: %{php_name}-pcre
 BuildRequires: %{php_name}-session
 BuildRequires: %{php_name}-spl
 %endif
@@ -102,6 +103,7 @@ phpize
 # simple module load test
 %{__php} -n -q \
        -d extension_dir=modules \
+       -d extension=%{php_extensiondir}/pcre.so \
        -d extension=%{php_extensiondir}/spl.so \
        -d extension=%{php_extensiondir}/session.so \
        -d extension=%{modname}.so \
@@ -113,7 +115,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="spl session" \
+       PHP_TEST_SHARED_SYSTEM_EXTENSIONS="pcre spl session" \
        RUN_TESTS_SETTINGS="-q $*"
 EOF
 chmod +x run-tests.sh
This page took 0.072756 seconds and 4 git commands to generate.